Skip to content

Commit 7707d30

Browse files
Add continuous deployment to QA and Test
Pushes to the next branch now automatically deploy to both QA and Test environments after CI passes.
1 parent c996dd6 commit 7707d30

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: CI
22

3-
on: [push]
3+
on:
4+
push:
5+
workflow_call:
46

57
env:
68
MISE_ENV: development
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Continuous deployment
2+
run-name: Continuous deployment of ${{ github.ref_name }} to QA and Test
3+
4+
on:
5+
push:
6+
branches: [next]
7+
8+
jobs:
9+
ci:
10+
permissions: {}
11+
uses: ./.github/workflows/ci.yml
12+
secrets: inherit
13+
deploy:
14+
needs: ci
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
environment: [qa, test]
19+
permissions:
20+
id-token: write
21+
uses: ./.github/workflows/deploy-application.yml
22+
with:
23+
environment: ${{ matrix.environment }}
24+
git_sha_to_deploy: ${{ github.sha }}

0 commit comments

Comments
 (0)