Skip to content

Commit

Permalink
fix: deploy to GitHub Pages (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manason authored Sep 16, 2023
1 parent fc4082d commit 6f305e3
Show file tree
Hide file tree
Showing 5 changed files with 647 additions and 545 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ name: Deploy to GitHub Pages

on:
push:
branches:
- main
branches: ["main"]
workflow_dispatch:

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
Expand All @@ -14,7 +20,7 @@ jobs:

- uses: pnpm/action-setup@v2
with:
version: 8.6.0
version: 8.7.5

- uses: actions/setup-node@v2
with:
Expand Down
95 changes: 0 additions & 95 deletions .github/workflows/nextjs.yml

This file was deleted.

11 changes: 9 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
})
});

module.exports = withNextra()
module.exports = {
...withNextra(),
rewrites: null,
output: 'export',
images: {
unoptimized: true,
},
};
2 changes: 1 addition & 1 deletion pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"resources": "Resources",
"converting": "Converting from QB",
"contributors": "Contributing",
"faq": "FAQ",
"developers": "Developer's Guide",
"faq": "FAQ",
"about": {
"title": "About",
"type": "page"
Expand Down
Loading

0 comments on commit 6f305e3

Please sign in to comment.