Bump the deps group with 1 update (#2) #7
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: Publish | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
id-token: write | |
pages: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: "0.4.35" | |
- name: Build docs | |
run: mdbook build | |
- name: Setup GitHub Pages | |
if: github.event_name == 'push' | |
uses: actions/configure-pages@v3 | |
- name: Upload Pages artifact | |
if: github.event_name == 'push' | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: book | |
- name: Deploy to GitHub Pages | |
if: github.event_name == 'push' | |
uses: actions/deploy-pages@v2 |