Skip to content

Commit

Permalink
Fix some deployment configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
fdendorfer committed Jun 9, 2024
1 parent 5a2f694 commit 5d80789
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
API_URI: ${{ secrets.API_URI }}
HOME_PORT: ${{ secrets.HOME_PORT }}
API_PORT: ${{ secrets.API_PORT }}
NITRO_PORT: ${{ secrets.HOME_PORT }}
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineNuxtConfig({
runtimeConfig: {
public: {
HOME_URI: process.env.HOME_URI || 'http://localhost:4001',
API_URI: process.env.API_URL || 'http://localhost:4002',
API_URI: process.env.API_URI || 'http://localhost:4002',
},
},
server: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dev:client": "nuxt dev",
"dev:server": "npx nodemon api.js",
"build": "nuxt build",
"start": "npx concurrently \"node ./.output/server/index.mjs\" \"node api.js\"",
"start": "npx concurrently \"node --env-file=.env ./.output/server/index.mjs\" \"node api.js\"",
"generate": "nuxt generate",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
Expand Down

0 comments on commit 5d80789

Please sign in to comment.