Skip to content

Sync Master

Sync Master #114

Workflow file for this run

name: Sync Master
on:
workflow_run:
workflows: ["Deploy Groups (livenet)", "Deploy Talk (livenet)"]
types:
- completed
jobs:
sync:
runs-on: ubuntu-latest
name: "Syncs the latest livenet deploy from develop to master"
steps:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Set Git config
run: |
git config --local user.email "[email protected]"
git config --local user.name "Github Actions"
- name: Merge Dev to Master
run: |
git fetch --unshallow
git checkout staging
git pull
git checkout master
git pull
git merge --no-ff staging
git push