Skip to content

Commit

Permalink
feat(16-environments): add more prod jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
lauromueller committed Nov 18, 2023
1 parent 9f0f979 commit 7191187
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/16-environments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- name: E2E tests
run: echo "Running E2e"
deploy-prod:
deploy-prod-frontend:
runs-on: ubuntu-latest
needs: e2e-tests
environment: prod
Expand All @@ -28,4 +28,24 @@ jobs:
steps:
- name: Echo vars
run: |
echo "Deploying to prod"
echo "Deploying prod frontend"
deploy-prod-backend1:
runs-on: ubuntu-latest
needs: e2e-tests
environment: prod
env:
my-env-value: ${{ vars.MY_ENV_VALUE || 'default value' }}
steps:
- name: Echo vars
run: |
echo "Deploying prod backend 1"
deploy-prod-backend2:
runs-on: ubuntu-latest
needs: e2e-tests
environment: prod
env:
my-env-value: ${{ vars.MY_ENV_VALUE || 'default value' }}
steps:
- name: Echo vars
run: |
echo "Deploying prod backend 2"

0 comments on commit 7191187

Please sign in to comment.