fix gh-actions
This commit is contained in:
9
.github/workflows/gh-pages.yml
vendored
9
.github/workflows/gh-pages.yml
vendored
@@ -14,14 +14,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
with:
|
||||||
node-version: 23
|
|
||||||
ref: main
|
ref: main
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 23
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
yarn install
|
yarn install --ignore-engines
|
||||||
rm -rf public
|
rm -rf public
|
||||||
git clone https://${GITEA_TOKEN}@git.syui.ai/ai/card_public public
|
git clone https://${GITEA_TOKEN}@git.syui.ai/ai/card_public public
|
||||||
rm -rf public/.git*
|
rm -rf public/.git*
|
||||||
|
Reference in New Issue
Block a user