diff --git a/.github/workflows/merge-to-docs-branch.yml b/.github/workflows/merge-to-docs-branch.yml new file mode 100644 index 0000000..3417c2b --- /dev/null +++ b/.github/workflows/merge-to-docs-branch.yml @@ -0,0 +1,23 @@ +name: Merge to Docs Branch + +on: + push: + branches: + - develop + +jobs: + merge-to-docs: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Merge to Docs Branch + run: | + git config user.name "andsonder" + git config user.email "changlu@keter.top" + + git checkout docs + git merge develop --no-edit + git push origin docs