init
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled Details

This commit is contained in:
AaronHux 2024-05-25 15:29:06 +08:00
parent 52a96ec652
commit bf41112f27
1 changed files with 9 additions and 7 deletions

View File

@ -16,8 +16,10 @@ jobs:
steps: steps:
- name: Build & Deploy - name: Build & Deploy
run: | run: |
cd /opt/workspace/TOPVERSE_Official rm -rf /opt/workspace/website
git pull mkdir -p /opt/workspace/website
git clone https://github.com/huxin/website.git /opt/workspace/website
cd /opt/workspace/website
docker build -t website-v1:latest "." docker build -t website-v1:latest "."
docker stop website-v1 || true docker stop website-v1 || true
docker rm -f website-v1 || true docker rm -f website-v1 || true