diff --git a/.github/workflows/website-backup.yml b/.github/workflows/website-publish.yml similarity index 100% rename from .github/workflows/website-backup.yml rename to .github/workflows/website-publish.yml diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml deleted file mode 100644 index 553b109a..00000000 --- a/.github/workflows/website.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/website/package.json b/website/package.json index a19c832a..aeafdea8 100644 --- a/website/package.json +++ b/website/package.json @@ -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" },