syntax error #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Stag Deploy | ||
run-name: redis-commander-${{ github.ref_name }} | ||
on: | ||
push: | ||
branches: | ||
- INFRA-4132 | ||
workflow_dispatch: | ||
jobs: | ||
# Can't use top-level `env` to set variables because they are not available to shared workflows | ||
set_env: | ||
runs-on: | ||
- self-hosted | ||
- 'flo-stag' | ||
outputs: | ||
ACCOUNT: ${{ vars.AWS_ACCOUNT_ID_FLOSTAG }} | ||
APP_ENV: stag | ||
APP_NAME: redis-commander | ||
APP_PORT: "3000" | ||
CLUSTER: stag | ||
steps: [{ run: 'exit 0' }] # noop step to satisfy job requirements | ||
build: | ||
needs: [set_env] | ||
uses: flocasts/github-actions/.github/workflows/shared-build-container.yaml@main | ||
with: | ||
app-env: ${{ needs.set_env.outputs.APP_ENV }} | ||
app-name: ${{ needs.set_env.outputs.APP_NAME }} | ||
build-role: github-actions-deploy-role | ||
build-args: | | ||
--progress=plain | ||
--build-arg=NPMT=${{ needs.set_env.outputs.NPMT }} | ||
secrets: inherit | ||
} |