forked from joeferner/redis-commander
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (32 loc) · 1.05 KB
/
deploy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
}