Skip to content

Use shared GHA workflows #39

Use shared GHA workflows

Use shared GHA workflows #39

Workflow file for this run

name: "Pull Request"
on:
pull_request:
branches: [ master ]
jobs:
validate:
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@master
publish:
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@master
needs: [ validate ]
secrets: inherit
deploy:
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@master
needs: [publish]
secrets: inherit
strategy:
max-parallel: 1
matrix:
flavor: [testnet, mainnet]
with:
DEPLOY_ENV: dev
DEPLOY_APP: "${{ github.event.repository.name }}-${{ matrix.flavor }}"
DEPLOY_VERSION: "pr-${{ github.event.number }}"
APP_HOST_PREFIX: "pr-${{ github.event.number }}"

Check failure on line 26 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / Pull Request

Invalid workflow file

The workflow is not valid. .github/workflows/pull-request.yml (Line: 26, Col: 24): Invalid input, APP_HOST_PREFIX is not defined in the referenced workflow.