Merge pull request #11 from adbayb/master #12
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: Deploy github page | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: '0.4.34' | |
# mdbook-version: 'latest' | |
- run: mdbook build | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Change github page source | |
branch: master |