Skip to content

mclizz/particle-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

particle-action

Invoke a Particle function as a GitHub Action

Usage

In your GitHub action, to execute the serve function you've registered on a device:

- uses: docker://mattdsteele/particle-github-action:latest
  env:
    FUNCTION_NAME: serve
    DEVICE_ID: ${{ secrets.PARTICLE_DEVICE_ID }}
    ACCESS_TOKEN: ${{ secrets.PARTICLE_ACCESS_TOKEN }}

You can also set uses: mattdsteele/particle-action@master to pull directly from GitHub, but the feedback loop will be much slower (as it builds the Docker container)

About

Invoke a Particle function as a GitHub Action

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 60.7%
  • Dockerfile 39.3%