Particle Function
ActionsInvoke a Particle function as a GitHub Action
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)
Particle Function is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.