Skip to content

Commit

Permalink
Test deploy docker
Browse files Browse the repository at this point in the history
  • Loading branch information
marsal committed May 28, 2024
1 parent 41dc7cd commit 1dc5f46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ jobs:
host: direct.labs.play-with-docker.com
username: ip172-18-0-43-cpalubol2o9000dlcm70
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: whoami
script: |
cd ci-cd-example
docker-compose -f docker-compose-deploy.yml down
git pull
docker-compose -f docker-compose-deploy.yml up -d --force-recreate

0 comments on commit 1dc5f46

Please sign in to comment.