Skip to content

Commit

Permalink
ci: generate sitemap using static-sitemap-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace authored Oct 27, 2023
1 parent 993f056 commit 3fe3a87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: latest

- name: Install static-sitemap-cli
run: npm install static-sitemap-cli

# FIXME: Keep this up to date
- name: Install mdbook-linkcheck
Expand Down Expand Up @@ -49,6 +52,11 @@ jobs:
mv book/"$lang"/custom book/custom/"$lang"
done
- name: Generate sitemap
run: |
cd gb-asm-tutorial/book/custom/
npx sscli --no-clean --base https://gbdev.io/gb-asm-tutorial
- name: Store final build
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 3fe3a87

Please sign in to comment.