Fix typos and simplify command meta passing #24
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: Pages | |
on: | |
workflow_dispatch: | |
push: | |
# TODO: Change 'ng' to 'gh-pages-source' before the next release. | |
# TODO: Also, delete 'stable-docs' branch used for the same purpose before. | |
branches: [ng] | |
paths: ["docs/**", book.toml] | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install development tools | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: just,mdbook | |
- name: Deploy pages | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "nobody@example.com" | |
just pages-deploy |