Skip to content

Commit 0e933c4

Browse files
committed
fix: corrigir build
1 parent 67bc905 commit 0e933c4

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/publishwebsite.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Website
1+
name: Deploy to GitHub Pages
22

33
on:
44
push:
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/setup-node@v4
1717
with:
1818
node-version: 18
19-
cache: 'npm'
19+
cache: "npm"
2020

2121
- name: Install dependencies
2222
run: npm ci
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
github_token: ${{ secrets.GITHUB_TOKEN }}
3434
publish_dir: ./dist
35+
publish_branch: gh-pages

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
dist/
3-
.parcel-cache/
3+
.parcel-cache/
4+
.DS_STORE

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "",
55
"scripts": {
66
"dev": "parcel index.html",
7-
"build": "parcel build index.html"
7+
"build": "parcel build index.html --public-url ./"
88
},
99
"keywords": [],
1010
"author": "",

0 commit comments

Comments
 (0)