diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 071367c880..6d93265a62 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,3 +55,17 @@ jobs: --cov=chatcommands \ --cov=helpers \ test + + release: + if: ${{ github.ref == 'master' }} + needs: build + steps: + - uses: actions/checkout@v2 + - name: Fetch branches + run: | + git remote set-branches --add origin deploy + git fetch --all --depth=5 + - name: Push to deploy + continue-on-error: true + run: | + git push origin HEAD:deploy