Skip to content

Commit

Permalink
Fix backend dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug6739 committed Jul 27, 2024
1 parent 7b83b51 commit f87e33c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_to_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Extract Archives on Remote
run: |
ssh -i deploy_key ${SSH_USER}@"${INPUT_HOST}" "cd ${INPUT_REMOTE} && tar -xzf frontend.tar.gz && tar -xzf backend.tar.gz && tar -xzf cdn.tar.gz && rm frontend.tar.gz backend.tar.gz cdn.tar.gz"
ssh -i deploy_key ${SSH_USER}@"${INPUT_HOST}" "cd ${INPUT_REMOTE} && tar -xzf frontend.tar.gz && mkdir -p backend && tar -xzf backend.tar.gz -C backend && tar -xzf cdn.tar.gz && rm frontend.tar.gz backend.tar.gz cdn.tar.gz"
- name: Install dependencies for backend
run: |
Expand Down
2 changes: 1 addition & 1 deletion ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
{
name: 'alexandrie-backend',
cwd: './backend',
script: 'bun dist/main.js',
script: 'bun main.js',
env: {
NODE_ENV: 'production',
PORT: 8201,
Expand Down

0 comments on commit f87e33c

Please sign in to comment.