Skip to content

Merge pull request #3 from chesterperry/patch-1 #12

Merge pull request #3 from chesterperry/patch-1

Merge pull request #3 from chesterperry/patch-1 #12

Workflow file for this run

name: Deploy and Restart
on:
push:
branches:
- master
jobs:
deploy:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Pull latest changes
run: git pull origin master
- name: Restart Docker Compose
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
run: |
docker-compose down
docker-compose up -d