Skip to content

Commit

Permalink
Removing copy docker-compose file in CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarcomurru committed Feb 21, 2023
2 parents 4790542 + 5257764 commit 058704b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/continous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
# allow manual triggers for now too
workflow_dispatch:
manual: true

# Remember to set the following secrets in your repository's settings:
# https://github.com/your_username/itu-minitwit-ci/settings/secrets/actions
# DOCKER_USERNAME
Expand Down Expand Up @@ -85,8 +85,9 @@ jobs:
- name: Deploy to server
# Configure the ~./bash_profile and deploy.sh file on the Vagrantfile
run: >
ssh -i ~/.ssh/minitwit.key -o StrictHostKeyChecking=no
$SSH_USER@$SSH_HOST '/minitwit/deploy.sh'
ssh $SSH_USER@$SSH_HOST
-i ~/.ssh/minitwit.key -o StrictHostKeyChecking=no
'/minitwit/deploy.sh'
env:
SSH_USER: ${{ secrets.SSH_USER }}
SSH_HOST: ${{ secrets.SSH_HOST }}

0 comments on commit 058704b

Please sign in to comment.