diff --git a/.github/workflows/deploy-to-demo.yaml b/.github/workflows/deploy-to-demo.yaml new file mode 100644 index 000000000..45b9fd20c --- /dev/null +++ b/.github/workflows/deploy-to-demo.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/production-to-all.yaml b/.github/workflows/production-to-all.yaml index c5a799bfc..154c09719 100644 --- a/.github/workflows/production-to-all.yaml +++ b/.github/workflows/production-to-all.yaml @@ -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 \ No newline at end of file + git push --force origin HEAD:devops/deploy-to-ma + git push --force origin HEAD:devops/deploy-to-demo \ No newline at end of file