Skip to content

Commit

Permalink
Merge pull request #6 from fossuok/dev
Browse files Browse the repository at this point in the history
change deployment configs
  • Loading branch information
PinsaraPerera authored Nov 26, 2024
2 parents be64ed6 + 86557d7 commit d555d85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Install dependencies
run: npm install

- name: Build and Export
run: npm run build && npm run export
- name: Build the site
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default withNextra({
output: 'export',

// Support for GitHub Pages
basePath: isProd ? '/nextra-doc-template' : '', // Replace <REPOSITORY_NAME> with your GitHub repo name
basePath: isProd ? '/nextra-doc-template' : '',
assetPrefix: isProd ? '/nextra-doc-template' : '',

// Required if you're using next/image
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"export": "next export"
"lint": "next lint"
},
"dependencies": {
"@tailwindcss/aspect-ratio": "^0.4.2",
Expand Down

0 comments on commit d555d85

Please sign in to comment.