diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index 2ac4c5ce..15be606a 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -8,19 +8,38 @@ on: - "master" jobs: - flowzone: - name: Flowzone + flowzone-staging: + name: Flowzone with balena-staging uses: product-os/flowzone/.github/workflows/flowzone.yml@master secrets: FLOWZONE_TOKEN: ${{ secrets.FLOWZONE_TOKEN }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - BALENA_API_KEY: ${{ secrets.BALENA_API_KEY }} + BALENA_API_KEY: ${{ secrets.BALENA_STAGING_TOKEN }} with: + balena_environment: balena-staging.com protect_branch: false - balena_slugs: - - balena_os/aarch64-supervisor - - balena_os/amd64-supervisor - - balena_os/armv7hf-supervisor - - balena_os/i386-supervisor - - balena_os/rpi-supervisor + balena_slugs: | + balena_os/aarch64-supervisor, + balena_os/amd64-supervisor, + balena_os/armv7hf-supervisor, + balena_os/i386-supervisor, + balena_os/rpi-supervisor + + flowzone: + name: Flowzone with balena-cloud + uses: product-os/flowzone/.github/workflows/flowzone.yml@master + secrets: + FLOWZONE_TOKEN: ${{ secrets.FLOWZONE_TOKEN }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + BALENA_API_KEY: ${{ secrets.BALENA_TOKEN }} + with: + balena_environment: balena-cloud.com + protect_branch: false + balena_slugs: | + balena_os/aarch64-supervisor, + balena_os/amd64-supervisor, + balena_os/armv7hf-supervisor, + balena_os/i386-supervisor, + balena_os/rpi-supervisor