Skip to content

Commit

Permalink
feat:docker 构建
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazi7 committed Oct 21, 2024
1 parent 3926408 commit 9cebc45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ jobs:
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: whoami
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

0 comments on commit 9cebc45

Please sign in to comment.