fix
This commit is contained in:
parent
6f352e491d
commit
d9fd41a934
7
.github/workflows/gh-pages.yml
vendored
7
.github/workflows/gh-pages.yml
vendored
@ -5,6 +5,10 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
GITEA_MAIL: ${{ secrets.GITEA_MAIL }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
jobs:
|
||||
build-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@ -18,6 +22,9 @@ jobs:
|
||||
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
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
dist
|
||||
tt
|
||||
@ -6,3 +5,4 @@ app.js
|
||||
yarn-error.log
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
**DS_Store
|
||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "public"]
|
||||
path = public
|
||||
url = git@git.syui.ai:ai/card-public
|
1
public/.gitignore
vendored
Normal file
1
public/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
**.DS_Store
|
0
public/README.md
Normal file
0
public/README.md
Normal file
Loading…
Reference in New Issue
Block a user