Added Stars to skip mail verification #55
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: Deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy using ssh | |
uses: garygrossgarten/github-action-ssh@release | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USER }} | |
privateKey: ${{ secrets.SSH_PRIVATE_KEY }} | |
command: | | |
cd /usr/local/bin/Send2KindleBot/ | |
git pull origin master | |
systemctl restart tg_send2kindlebot | |
systemctl restart tg_send2kindleFast | |
systemctl restart tg_send2kindleSlow | |