Skip to content

Commit

Permalink
fix pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
hitchhooker committed Jan 10, 2024
1 parent 88655b8 commit 789bca9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,17 @@ jobs:
- name: Add wasm target
run: rustup target add wasm32-unknown-unknown

- name: list source
run: ls src/

- name: Build Rust project with trunk
run: trunk build

- name: Copy CNAME for custom domain
run: cp CNAME ./dist/
run: cp CNAME ./app/dist/

- name: Create 404 redirection for SPA
run: cp dist/index.html dist/404.html
run: cp app/dist/index.html app/dist/404.html

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PAT }}
publish_dir: ./dist
publish_dir: ./app/dist

0 comments on commit 789bca9

Please sign in to comment.