Skip to content

Merge branch 'master' of https://github.com/taimast/AiogramTemplate #65

Merge branch 'master' of https://github.com/taimast/AiogramTemplate

Merge branch 'master' of https://github.com/taimast/AiogramTemplate #65

Workflow file for this run

name: Build and Deploy to Server
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deploy to Server
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USERNAME }}
# key: ${{ secrets.SSH_PRIVATE_KEY }}
password: ${{ secrets.SERVER_PASSWORD }}
script: |
cd /home/src
git pull
docker compose stop
docker compose up --build -d
# todo L1 TODO 21.05.2023 15:31 taima: Add python syntax check to CI