From 9cebc4570fabdb3b2c7d487eec63b37464ecb1d6 Mon Sep 17 00:00:00 2001 From: Hazi <83254065@qq.com> Date: Mon, 21 Oct 2024 21:42:49 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Adocker=20=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b7d4664..045d07e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,4 +35,8 @@ jobs: username: ${{ secrets.SSH_USERNAME }} password: ${{ secrets.SSH_PASSWORD }} port: ${{ secrets.SSH_PORT }} - script: whoami \ No newline at end of file + script: | + docker pull lihazi/weilai:latest + docket stop lihazi/weilai || true + docker rm lihazi/weilai || true + docker run -d -t lihazi/weilai -p 80:80 lihazi/weilai \ No newline at end of file