Merge pull request #279 from derek-ye/master #9
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 Site | |
on: | |
push: | |
branches: [master] | |
jobs: | |
update-site: | |
runs-on: ubuntu-latest | |
permissions: | |
# Give the default GITHUB_TOKEN write permission to commit and push the | |
# added or changed files to the repository. | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: just@1.16.0 | |
- name: Setup tools | |
run: sudo apt-get install -y asciidoc | |
- name: Generate XML from Asciidoc | |
run: just generate-xml | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
- name: Generate static HTML | |
run: just generate-static | |
- uses: stefanzweifel/git-auto-commit-action@v5 |