1
0

add atmosphere

This commit is contained in:
2025-11-20 19:39:03 +09:00
parent 8dddebec16
commit 5040c9a31b
83 changed files with 6303 additions and 417 deletions

View File

@@ -4,10 +4,7 @@ on:
push:
branches:
- main
env:
GITEA_MAIL: ${{ secrets.GITEA_MAIL }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
environment: gh-pages
jobs:
build-deploy:
@@ -16,26 +13,21 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21
ref: main
submodules: true
fetch-depth: 0
- run: |
yarn install
rm -rf dist/vrma
git clone https://${GITEA_TOKEN}@git.syui.ai/ai/vrma dist/vrma
rm -rf dist/vrma/.git
node-version: 25
cache: 'npm'
cache-dependency-path: atmosphere/package-lock.json
- run: npm ci
working-directory: min-react/
- name: Build
env:
TZ: "Asia/Tokyo"
run: |
yarn build
run: npm run build
working-directory: min-react/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_dir: ./min-react/dist
user_name: 'ai[bot]'
user_email: '138105980+yui-syui-ai[bot]@users.noreply.github.com'