Skip to content

Commit

Permalink
Remove dumb variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tookender committed Aug 25, 2023
1 parent 41afbf9 commit 15386e5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches:
- main

env:
DIR: Korii-Bot
NAME: korii-bot

jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand All @@ -21,9 +17,9 @@ jobs:
password: ${{ secrets.SSH_PASSWORD }}
port: 22
script: |
cd $DIR
cd Korii
git pull
docker build -t $NAME .
docker stop $NAME
docker rm $NAME
docker run --name $NAME -d $NAME
docker build -t korii-bot .
docker stop korii-bot
docker rm korii-bot
docker run --name korii-bot -d korii-bot

0 comments on commit 15386e5

Please sign in to comment.