From 15386e51fe883cacf90c31ab3103d7f1bc3883d0 Mon Sep 17 00:00:00 2001 From: Ender2K89 Date: Fri, 25 Aug 2023 18:07:26 +0200 Subject: [PATCH] Remove dumb variables --- .github/workflows/docker.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ceea8a5..0dd88ad 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -5,10 +5,6 @@ on: branches: - main -env: - DIR: Korii-Bot - NAME: korii-bot - jobs: build-and-deploy: runs-on: ubuntu-latest @@ -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 \ No newline at end of file + docker build -t korii-bot . + docker stop korii-bot + docker rm korii-bot + docker run --name korii-bot -d korii-bot \ No newline at end of file