Skip to content

Commit

Permalink
Merge pull request #458 from Avdan-OS/sammy99jsp/patch-ci-2
Browse files Browse the repository at this point in the history
Fix CI Pt. II: Fix `deploy.yml`
  • Loading branch information
Sammy99jsp authored Jul 7, 2024
2 parents 4c700d5 + bfd04f0 commit 1f75a8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: "**/package-lock.json" # THIS PATTERN did the trick for me.
- run: npm install && npx next build && npx next export && touch out/.nojekyll
- run: npm install && npx next build && touch out/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
Expand Down
4 changes: 4 additions & 0 deletions src/next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/**
* @type {import('next').NextConfig}
*/
module.exports = {
output: 'export',
// Uncomment the line below to enable basePath, pages and
// redirects will then have a path prefix (`/app` in this case)
//
Expand Down

0 comments on commit 1f75a8a

Please sign in to comment.