Skip to content

wip: reusable workflow #54

wip: reusable workflow

wip: reusable workflow #54

Workflow file for this run

name: Deploy
on:
push:
tags:
- '*'
jobs:
deploy_protectli:
if: contains(github.ref, 'refs/tags/protectli')
uses: ./.github/workflows/deploy-template.yml
with:
platform: protectli
vendor: ${{ matrix.vendor }}
model: ${{ matrix.model }}
CLOUD_URL: ${{ secrets.CLOUD_URL }}

Check failure on line 15 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 15, Col: 18): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CLOUD_URL .github/workflows/deploy.yml (Line: 16, Col: 23): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CLOUD_PASSWORD
CLOUD_PASSWORD: ${{ secrets.CLOUD_PASSWORD }}
strategy:
matrix:
vendor: [ protectli ]
model: [ vp66xx, vp46xx, vp2420, vp2410, V1210, V1211, V1410, V1610 ]
deploy_novacustom:
if: contains(github.ref, 'refs/tags/novacustom')
uses: ./.github/workflows/deploy-template.yml
with:
platform: novacustom
CLOUD_URL: ${{ secrets.CLOUD_URL }}
CLOUD_PASSWORD: ${{ secrets.CLOUD_PASSWORD }}
deploy_pcengines:
if: contains(github.ref, 'refs/tags/pcengines')
uses: ./.github/workflows/deploy-template.yml
with:
platform: pcengines
vendor: ${{ matrix.vendor }}
model: ${{ matrix.model }}
payload: ${{ matrix.payload }}
CLOUD_URL: ${{ secrets.CLOUD_URL }}
CLOUD_PASSWORD: ${{ secrets.CLOUD_PASSWORD }}
strategy:
matrix:
vendor: [ pcengines ]
model: [ apu2, apu3, apu4, apu6 ]
payload: [ uefi ]
deploy_msi:
if: contains(github.ref, 'refs/tags/msi')
uses: ./.github/workflows/deploy-template.yml
with:
platform: msi
type: ${{ matrix.type }}
CLOUD_URL: ${{ secrets.CLOUD_URL }}
CLOUD_PASSWORD: ${{ secrets.CLOUD_PASSWORD }}
strategy:
matrix:
type: [ ddr4, ddr5 ]