Merge pull request #2359 from jupyter-naas/2333-as-a-contributor-i-wa… #1378
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: Update documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update-documentation: | |
if: "startsWith(github.event.head_commit.message, 'generateReadme:')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}' | |
- run: 'git config --global user.email "[email protected]"' | |
- run: 'git config --global user.name "Github Action"' | |
- run: "make interactive='' push-documentation" | |
env: | |
PERSONAL_ACCESS_TOKEN: '${{ secrets.PERSONAL_ACCESS_TOKEN }}' |