Skip to content

Commit

Permalink
Merge pull request #34 from DrInTech22/integration
Browse files Browse the repository at this point in the history
fix: workflow config error
  • Loading branch information
DrInTech22 authored Dec 16, 2024
2 parents 9ebd17a + 3a73ec7 commit 28410f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
host: ${{ env.PUBLIC_IP }}
username: ${{ vars.EC2_USER }}
key: ${{ secrets.PRIVATE_KEY }}
source: "backend.env, POSTGRES_PASSWORD.txt, compose.yml"
source: "backend.env, frontend.env, POSTGRES_PASSWORD.txt, compose.yml"
target: "~/"

- name: Use SSH Action
Expand All @@ -79,6 +79,6 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
script: |
sudo chown -R root:root /home/ubuntu/*.env
mv backend.env backend/.env
mv frontend.env frontend/.env
sudo mv backend.env backend/.env
sudo mv frontend.env frontend/.env
docker compose up -d --no-deps --force-recreate backend db adminer

0 comments on commit 28410f8

Please sign in to comment.