mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
Move env to root
This commit is contained in:
parent
b2f7924af3
commit
65c9f4fb61
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@ -1,9 +1,14 @@
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v3-vitepress
|
- v3-vitepress
|
||||||
|
|
||||||
|
env:
|
||||||
|
VITE_BUILD: ${{ env.VITE_BUILD }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -25,8 +30,6 @@ jobs:
|
|||||||
- run: npm ci
|
- run: npm ci
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run docs:build
|
run: npm run docs:build
|
||||||
env:
|
|
||||||
VITE_BUILD: ${{ env.VITE_BUILD }}
|
|
||||||
- uses: actions/configure-pages@v2
|
- uses: actions/configure-pages@v2
|
||||||
- uses: actions/upload-pages-artifact@v1
|
- uses: actions/upload-pages-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user