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