新版系统
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 29m34s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 29m34s
Details
This commit is contained in:
parent
1880a712fd
commit
b6595b8be8
|
@ -7,10 +7,10 @@ jobs:
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
steps:
|
steps:
|
||||||
- name: Build & Deploy
|
- 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: 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 stop website-v2 || true
|
||||||
- run: docker rm -f 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
|
- run: docker run -d -p 9000:80 --restart=unless-stopped --name website-v2 website-v2
|
||||||
|
|
Loading…
Reference in New Issue