DinisCruz commited on
Commit
6bf0c96
·
1 Parent(s): 799076a

fixed gh paths

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +4 -3
.github/workflows/deploy.yml CHANGED
@@ -25,18 +25,19 @@ jobs:
25
 
26
  - name: Install dependencies
27
  run: |
28
- cd website/code
29
  yarn install --frozen-lockfile
30
  - name: Build website
31
  run: |
32
- cd website/code
 
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/code/build
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