Using the CLI in your CI/CD pipelines
Written By Josh Kalderimis
Last updated About 2 months ago
GitHub Actions
Generate an authentication token
Generate a public/private key pair for firmware signing
Add the https://github.com/nervescloud/upload-nerves-firmware action to your GitHub Action workflow file
- name: Upload firmware to NervesCloud
uses: nervescloud/upload-nerves-firmware
with:
token: ${{ secrets.NERVES_CLOUD_TOKEN }}
org: MyOrg
product: my_product
private-key: ${{ secrets.NERVES_CLOUD_PRIVATE_KEY }}
public-key: ${{ secrets.NERVES_CLOUD_PUBLIC_KEY }}