diff --git a/.github/workflows/devSync.yml b/.github/workflows/devSync.yml new file mode 100644 index 0000000..f2e74c5 --- /dev/null +++ b/.github/workflows/devSync.yml @@ -0,0 +1,18 @@ +name: Sync dev with stable +on: + pull_request: + types: [closed] + branches: [stable] + +jobs: + sync: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: | + git checkout dev + git pull origin stable + git push origin dev \ No newline at end of file