mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-18 07:45:23 +01:00
[GitHub] Fix Typedoc workflow (#6490)
* [GitHub] Fix Typedoc workflow * Remove `--allow-empty`
This commit is contained in:
parent
850fa6f6de
commit
db8458fdb7
9
.github/workflows/github-pages.yml
vendored
9
.github/workflows/github-pages.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
docs-dir: ./pokerogue_docs
|
docs-dir: ./pokerogue_docs
|
||||||
# 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:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: 10
|
version: 10
|
||||||
|
|
||||||
- name: Setup Node 22.14.1
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version-file: "pokerogue_docs/.nvmrc"
|
node-version-file: "pokerogue_docs/.nvmrc"
|
||||||
@ -79,5 +79,6 @@ jobs:
|
|||||||
mkdir -p $GITHUB_REF_NAME
|
mkdir -p $GITHUB_REF_NAME
|
||||||
rm -rf $GITHUB_REF_NAME/*
|
rm -rf $GITHUB_REF_NAME/*
|
||||||
cp -r /tmp/docs/. $GITHUB_REF_NAME
|
cp -r /tmp/docs/. $GITHUB_REF_NAME
|
||||||
git commit --allow-empty -am "[skip ci] Deploy docs"
|
git add $GITHUB_REF_NAME
|
||||||
git push
|
git commit -m "[skip ci] Deploy docs"
|
||||||
|
git push
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user