Skip to content

Particle Function

Actions
Invoke a Particle Function
1.0.0
Latest
Star (6)

Tags

 (2)

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)

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.

About

Invoke a Particle Function
1.0.0
Latest

Tags

 (2)

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.