Skip to content

Commit

Permalink
devops: Add demo deployment task
Browse files Browse the repository at this point in the history
  • Loading branch information
jhf committed Sep 9, 2024
1 parent 92502ee commit bae49f1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/deploy-to-demo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Push master -> devops/deploy-to-demo
on:
push:
branches:
- 'master'
# Allow manual deployment in github
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: 'master'
ssh-key: ${{ secrets.SSH_KEY }}
- name: Push for deployment
run: |
git push --force origin HEAD:devops/deploy-to-demo
3 changes: 2 additions & 1 deletion .github/workflows/production-to-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ jobs:
run: |
git push --force origin HEAD:devops/deploy-to-no
git push --force origin HEAD:devops/deploy-to-tcc
git push --force origin HEAD:devops/deploy-to-ma
git push --force origin HEAD:devops/deploy-to-ma
git push --force origin HEAD:devops/deploy-to-demo

0 comments on commit bae49f1

Please sign in to comment.