Tweak docs workflow to not download public directory

This commit is contained in:
Sirz Benjie 2025-09-10 11:17:28 -05:00
parent cf492d2796
commit dc11e5ef88
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -27,15 +27,17 @@ jobs:
# Only push docs when running on pushes to main/beta # Only push docs when running on pushes to main/beta
DRY_RUN: ${{github.event_name != 'push' || (github.ref_name != 'beta' && github.ref_name != 'main')}} DRY_RUN: ${{github.event_name != 'push' || (github.ref_name != 'beta' && github.ref_name != 'main')}}
strategy:
fail-fast: false
steps: steps:
- name: Checkout repository for Typedoc - name: Checkout repository for Typedoc
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
submodules: 'recursive'
path: pokerogue_docs path: pokerogue_docs
sparse-checkout: |
/*
!/public/
/public/images/pokemon/variant/_exp_masterlist.json
/public/images/pokemon/variant/_masterlist.json
sparse-checkout-cone-mode: false
- name: Install OS package - name: Install OS package
run: | run: |