Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge Master to Docs on Release | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: docs | |
- name: Merge master into docs | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "actions@example.com" | |
git fetch origin master --depth 1 | |
git merge origin/master --no-edit | |
git push origin docs |