Skip to content

Commit

Permalink
ci: update last pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed Jan 16, 2025
1 parent bdedf8a commit 1f8a1d5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ concurrency:

jobs:
build:
name: Build Tonc
name: Build ndsdoc
runs-on: ubuntu-latest
steps:
- name: Checkout tonc (and submodules)
- name: Checkout ndsdoc (and submodules)
uses: actions/checkout@v2
with:
path: tonc
path: ndsdoc
submodules: 'true'

- name: Install mdbook
Expand All @@ -37,27 +37,27 @@ jobs:
- name: Cache build dir
uses: actions/cache@v2
with:
path: tonc/target/
key: ${{ runner.os }}-build-${{ hashFiles('tonc/Cargo.lock') }}
path: ndsdoc/target/
key: ${{ runner.os }}-build-${{ hashFiles('ndsdoc/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-build-
- name: Build
working-directory: tonc/
working-directory: ndsdoc/
env:
MDBOOK_BUILD__CREATE_MISSING: "false" # Prevent creating missing files in SUMMARY.md
run: |
mdbook build
- name: Generate sitemap
run: |
cd tonc/output
cd ndsdoc/output
npx sscli --no-clean --base https://ndsdoc.gbadev.net/
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: tonc/output
path: ndsdoc/output

deploy:
name: Deploy to GitHub pages
Expand Down

0 comments on commit 1f8a1d5

Please sign in to comment.