Skip to content

Commit 10e0b4f

Browse files
committed
Update deploy workflow
1 parent 6cfe32e commit 10e0b4f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
#
5050
# You may remove this line if you want to manage the configuration yourself.
5151
static_site_generator: gatsby
52+
generator_config_file: ./gatsby-config.js
53+
token: ${{ secrets.GITHUB_TOKEN }}
5254
- name: Restore cache
5355
uses: actions/cache@v4
5456
with:

gatsby-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
options: {
1111
path: `${__dirname}/src/pages`,
1212
name: 'pages',
13+
start_url: '/',
1314
},
1415
},
1516
`gatsby-transformer-remark`,

0 commit comments

Comments
 (0)