Add path prefix to website
This commit is contained in:
parent
44a48d9d11
commit
bfd99ad8f3
16
.github/workflows/website.yml
vendored
16
.github/workflows/website.yml
vendored
@ -1,16 +0,0 @@
|
||||
name: Website Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: enriikke/gatsby-gh-pages-action@v2
|
||||
with:
|
||||
access-token: ${{ secrets.ACCESS_TOKEN }}
|
||||
working-dir: website
|
@ -4,7 +4,7 @@
|
||||
"description": "Simple CMS documentation website built with Gatsby",
|
||||
"scripts": {
|
||||
"start": "gatsby develop",
|
||||
"build": "gatsby build && rm -rf dist && mv public dist",
|
||||
"build": "gatsby build --prefix-paths && rm -rf dist && mv public dist",
|
||||
"lint": "markdownlint 'content/docs/**/*.md'",
|
||||
"reset": "rm -rf .cache"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user