Skip to content

Commit

Permalink
Replace deployment script with locally hosted script
Browse files Browse the repository at this point in the history
  • Loading branch information
minisbett committed Nov 20, 2023
1 parent e298bd0 commit da1c073
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,5 @@ jobs:
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
script: |
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/huisbot:latest
docker stop huisbot
docker rm huisbot
docker run -d --env-file "/root/huisbot/.env" --name huisbot ${{ secrets.DOCKERHUB_USERNAME }}/huisbot:latest
chmod +x /root/huisbot/deploy.sh
/root/huisbot/deploy.sh

0 comments on commit da1c073

Please sign in to comment.