fix site
This commit is contained in:
11
.github/workflows/gh-pages.yml
vendored
11
.github/workflows/gh-pages.yml
vendored
@@ -5,10 +5,6 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
GITEA_MAIL: ${{ secrets.GITEA_MAIL }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
jobs:
|
||||
build-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -21,11 +17,8 @@ jobs:
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
- run: |
|
||||
yarn install
|
||||
rm -rf public
|
||||
git clone https://${GITEA_TOKEN}@git.syui.ai/ai/card_public public
|
||||
rm -rf public/.git*
|
||||
rm -rf public/static
|
||||
npm install -g yarn@1.22.19 # ← yarn 1系を使う!
|
||||
yarn install --frozen-lockfile --ignore-engines
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
|
Reference in New Issue
Block a user