新版系统
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 29m34s Details

This commit is contained in:
AaronHux 2024-05-25 22:17:59 +08:00
parent 1880a712fd
commit b6595b8be8
1 changed files with 3 additions and 3 deletions

View File

@ -7,10 +7,10 @@ jobs:
runs-on: linux
steps:
- name: Build & Deploy
- run: rm -rf /opt/workspace/website
run: rm -rf /opt/workspace/website
- run: git clone http://127.0.0.1:3000/huxin/website.git /opt/workspace/website
- run: cd /opt/workspace/website
- run: docker build -t website-v2:latest "."
- run: cd /opt/workspace/website && docker build -t website-v2:latest "."
- run: docker stop website-v2 || true
- run: docker rm -f website-v2 || true
- run: docker run -d -p 9000:80 --restart=unless-stopped --name website-v2 website-v2