Skip to content

Commit

Permalink
Remove BASE_PATH from deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Jul 25, 2024
1 parent 308e89c commit 0f99962
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/purefinance_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Build site
run: |
cd site
BASE_PATH="/pure.finance" npm run build
npm run build
- name: Copy files to Hostinger
uses: appleboy/scp-action@master
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ npm run test:e2e
```sh
npm ci
cd site
BASE_PATH="/pure.finance" npm run build
npm run build
```

Then upload the folder `site/out` to the hosting server.
1 change: 0 additions & 1 deletion site/next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
basePath: process.env.BASE_PATH || '',
images: { unoptimized: true },
output: 'export',
trailingSlash: true
Expand Down

0 comments on commit 0f99962

Please sign in to comment.