fix actions
This commit is contained in:
19
.github/workflows/gh-pages.yml
vendored
19
.github/workflows/gh-pages.yml
vendored
@@ -14,25 +14,20 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 25
|
||||
ref: main
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
- run: |
|
||||
cd atmosphere/
|
||||
npm i
|
||||
|
||||
cache: 'npm'
|
||||
cache-dependency-path: atmosphere/package-lock.json
|
||||
- run: npm ci
|
||||
working-directory: min-react/
|
||||
- name: Build
|
||||
env:
|
||||
TZ: "Asia/Tokyo"
|
||||
VITE_GOOGLE_MAP_API_KEY: ${{ secrets.VITE_GOOGLE_MAP_API_KEY }}
|
||||
run: |
|
||||
cd atmosphere/
|
||||
npm run 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: ./atmosphere/dist
|
||||
publish_dir: ./min-react/dist
|
||||
user_name: 'ai[bot]'
|
||||
user_email: '138105980+yui-syui-ai[bot]@users.noreply.github.com'
|
||||
|
||||
Reference in New Issue
Block a user