Merge pull request #716 from cy6erskunk/add-manual-test-reference #11
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: Copy README to gh-pages branch | |
on: | |
push: | |
branches: [master] | |
paths: ["README.md"] | |
jobs: | |
copy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: "gh-pages" | |
- name: copy README to gh-pages branch | |
run: | | |
git fetch --depth=1 origin master | |
git checkout origin/master README.md | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git commit README.md -m 'Copy readme file from master branch' | |
git push origin gh-pages |