We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 054eaf0 commit 228bafaCopy full SHA for 228bafa
.github/workflows/pages.yml
@@ -35,7 +35,7 @@ jobs:
35
- name: Install dependencies
36
run: npm ci
37
- name: Build with Astro
38
- run: npm run build --site 'https://pokeapi.github.io/' --base 'pokeapi.co'
+ run: npm run build:ghpages
39
- name: Upload artifact
40
uses: actions/upload-pages-artifact@v3
41
with:
package.json
@@ -16,7 +16,8 @@
16
"scripts": {
17
"dev": "astro dev",
18
"start": "astro dev",
19
- "build": "astro build --site 'https://pokeapi.co/'",
+ "build": "astro build --site https://pokeapi.co/",
20
+ "build:ghpages": "astro build --site https://pokeapi.github.io/ --base pokeapi.co",
21
"preview": "astro preview",
22
"astro": "astro"
23
},
0 commit comments