changing working directories
This commit is contained in:
parent
3829f119e6
commit
b52ca7d6c1
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -33,18 +33,17 @@ jobs:
|
|||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
- name: Change Working Directory to Js
|
|
||||||
run: cd www
|
|
||||||
|
|
||||||
- name: Install Node Modules
|
- name: Install Node Modules
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
working-directory: ./www
|
||||||
|
|
||||||
- name: Build Js
|
- name: Build Js
|
||||||
run: npm run build --if-present
|
run: npm run build --if-present
|
||||||
|
working-directory: ./www
|
||||||
|
|
||||||
- name: Deploy To Pages
|
- name: Deploy To Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./dist
|
publish_dir: ./www/dist
|
||||||
|
Loading…
Reference in New Issue
Block a user