Provide links for finding issues to work on (#25) #31
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: Build and deploy GH Pages | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
book: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: peaceiris/actions-mdbook@v1 | |
with: | |
mdbook-version: '0.4.14' | |
- name: Install static-sitemap-cli | |
run: npm install static-sitemap-cli | |
- name: Build | |
run: mdbook build | |
- name: Generate sitemap | |
run: | | |
cd book | |
npx sscli --no-clean --base https://iamb.chat | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./book |