Skip to content

Commit

Permalink
chore: add BASE_URL for deploying landingpage to Github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
luandro committed Oct 31, 2024
1 parent a122a14 commit 2f6fa54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
run: bun install

- name: Build
env:
BASE_URL: /${{ github.event.repository.name }}
run: bun run build:landingpage

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apps/landingpage/dist
2 changes: 1 addition & 1 deletion apps/landingpage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eda/landingpage",
"version": "0.0.2",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down

0 comments on commit 2f6fa54

Please sign in to comment.