Skip to content

Commit 228bafa

Browse files
committed
fix: remove quotes
1 parent 054eaf0 commit 228bafa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install dependencies
3636
run: npm ci
3737
- name: Build with Astro
38-
run: npm run build --site 'https://pokeapi.github.io/' --base 'pokeapi.co'
38+
run: npm run build:ghpages
3939
- name: Upload artifact
4040
uses: actions/upload-pages-artifact@v3
4141
with:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"scripts": {
1717
"dev": "astro dev",
1818
"start": "astro dev",
19-
"build": "astro build --site 'https://pokeapi.co/'",
19+
"build": "astro build --site https://pokeapi.co/",
20+
"build:ghpages": "astro build --site https://pokeapi.github.io/ --base pokeapi.co",
2021
"preview": "astro preview",
2122
"astro": "astro"
2223
},

0 commit comments

Comments
 (0)