1
0
This commit is contained in:
syui 2024-03-23 15:00:59 +09:00
parent 6f352e491d
commit d9fd41a934
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
5 changed files with 12 additions and 1 deletions

View File

@ -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
View File

@ -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
View File

@ -0,0 +1,3 @@
[submodule "public"]
path = public
url = git@git.syui.ai:ai/card-public

1
public/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
**.DS_Store

0
public/README.md Normal file
View File