Skip to content

Fuck command tree

Fuck command tree #18

Workflow file for this run

name: Docker CI/CD
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: SSH into server and update the bot
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_IP }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
port: 22
script: |
cd Korii
git pull
docker build -t korii-bot .
docker stop korii-bot
docker rm korii-bot
docker run --name korii-bot -d korii-bot