Restart Volunteer Manager #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Restart Volunteer Manager | |
on: [ workflow_dispatch ] | |
jobs: | |
deploy: | |
name: Restart | |
runs-on: ubuntu-latest | |
steps: | |
- name: Restart the manager in production | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.HOST }} | |
port: ${{ secrets.PORT }} | |
username: ${{ secrets.USERNAME }} | |
key: ${{ secrets.KEY }} | |
command_timeout: 10m | |
script: | | |
cd ~/volunteer-manager | |
docker restart volunteer-manager-docker |