Skip to content

Commit

Permalink
fix(ci-cd): deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rutajdash committed May 11, 2022
1 parent ebef310 commit 0443234
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: ${{ secrets.env_vars }} > server/env/.env.${{ inputs.node_env }}

- name: Copy Required Files
uses: appleboy/scp-action@v0.0.1
uses: appleboy/scp-action@v0.1.2
with:
host: ${{ inputs.ssh_host }}
username: ${{ inputs.ssh_username }}
Expand All @@ -53,4 +53,6 @@ jobs:
script: |
cd ~/apps/project-reclamation
docker pull ${{ inputs.registry }}/${{ inputs.image_name }}:${{ inputs.node_env }}
docker-compose up
docker-compose down
docker-compose up -d
docker image prune

0 comments on commit 0443234

Please sign in to comment.