Skip to content

Commit

Permalink
cd: adicionando worfklow de deploy automatizado na azure
Browse files Browse the repository at this point in the history
  • Loading branch information
williambrunos committed Feb 24, 2024
1 parent ddba498 commit 0938282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
run: |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > private_key
chmod 400 private_key
ssh -i -o StrictHostKeyChecking=no private_key [email protected] 'docker stop mandacarubroker-api || true && docker rm mandacarubroker-api || true && docker run --log-opt labels=applications,environment --restart unless-stopped --name mandacarubroker-api --env-file=/home/william/mandacaru-broker-jandaia/.env -p 8080:8080 -d izaiasmachado/mandacarubroker-api'
ssh -o StrictHostKeyChecking=no -i private_key [email protected] 'docker stop mandacarubroker-api || true && docker rm mandacarubroker-api || true && docker run --log-opt labels=applications,environment --restart unless-stopped --name mandacarubroker-api --env-file=/home/william/mandacaru-broker-jandaia/.env -p 8080:8080 -d izaiasmachado/mandacarubroker-api'

0 comments on commit 0938282

Please sign in to comment.