Skip to content

Add Cron and Add CI/CD #1

Add Cron and Add CI/CD

Add Cron and Add CI/CD #1

Workflow file for this run

name: Deploy Discord Kairos Bot
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy Bot on HomeServer
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd services/bot/Kairos-Bot-Reminder
git pull
docker-compose up -d --build