Skip to content

this one goes out to some dumbass who's gonna make the same mistake i… #38

this one goes out to some dumbass who's gonna make the same mistake i…

this one goes out to some dumbass who's gonna make the same mistake i… #38

Workflow file for this run

name: Docker CI/CD
on:
push:
branches:
- master
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 personal
cd Bot
sudo docker compose down
sudo git pull
sudo docker compose up -d