Spaces:
Sleeping
Sleeping
fixed gh paths
Browse files
.github/workflows/deploy.yml
CHANGED
@@ -25,18 +25,19 @@ jobs:
|
|
25 |
|
26 |
- name: Install dependencies
|
27 |
run: |
|
28 |
-
cd website
|
29 |
yarn install --frozen-lockfile
|
30 |
- name: Build website
|
31 |
run: |
|
32 |
-
|
|
|
33 |
yarn build
|
34 |
|
35 |
- name: Deploy to GitHub Pages
|
36 |
uses: peaceiris/actions-gh-pages@v3
|
37 |
with:
|
38 |
github_token: ${{ secrets.GITHUB_TOKEN }}
|
39 |
-
publish_dir: website/
|
40 |
publish_branch: gh-pages
|
41 |
user_name: github-actions[bot]
|
42 |
user_email: 41898282+github-actions[bot]@users.noreply.github.com
|
|
|
25 |
|
26 |
- name: Install dependencies
|
27 |
run: |
|
28 |
+
cd ./website
|
29 |
yarn install --frozen-lockfile
|
30 |
- name: Build website
|
31 |
run: |
|
32 |
+
cp ./docs ./website
|
33 |
+
cd ./website
|
34 |
yarn build
|
35 |
|
36 |
- name: Deploy to GitHub Pages
|
37 |
uses: peaceiris/actions-gh-pages@v3
|
38 |
with:
|
39 |
github_token: ${{ secrets.GITHUB_TOKEN }}
|
40 |
+
publish_dir: ./website/build
|
41 |
publish_branch: gh-pages
|
42 |
user_name: github-actions[bot]
|
43 |
user_email: 41898282+github-actions[bot]@users.noreply.github.com
|