This commit is contained in:
AaronHux 2024-05-25 12:13:07 +08:00
parent 50ec1b1439
commit 378a5104e6
2 changed files with 7 additions and 9 deletions

View File

@ -4,24 +4,23 @@ on: [push]
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: server runs-on: ubuntu-latest
# container: catthehacker/ubuntu:act-latest # container: catthehacker/ubuntu:act-latest
container: # container:
image: ghcr.nju.edu.cn/catthehacker/ubuntu:act-latest # image: ghcr.nju.edu.cn/catthehacker/ubuntu:act-latest
# volumes: # volumes:
# - /run/docker.sock:/run/docker.sock # - /run/docker.sock:/run/docker.sock
# env: # env:
# DOCKER_ORG: gitea # DOCKER_ORG: gitea
# DOCKER_LATEST: latest # DOCKER_LATEST: latest
steps: steps:
- name: Clone # - name: Clone
run: | # run: |
rm -rf /opt/website # rm -rf /opt/website
git clone http://www.topverse.world:3000/huxin/TOPVERSE_Official /opt/website # git clone http://www.topverse.world:3000/huxin/TOPVERSE_Official /opt/website
- name: Build - name: Build
run: | run: |
cd /opt/website
docker build -t website-v1:latest "." docker build -t website-v1:latest "."
- name: Deploy - name: Deploy

View File

@ -1,6 +1,5 @@
{ {
"private": true, "private": true,
"packageManager": "pnpm@8.2.0",
"scripts": { "scripts": {
"build": "nuxi build", "build": "nuxi build",
"dev": "nuxi dev", "dev": "nuxi dev",