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:
Explore-Gitea-Actions:
runs-on: server
runs-on: ubuntu-latest
# container: catthehacker/ubuntu:act-latest
container:
image: ghcr.nju.edu.cn/catthehacker/ubuntu:act-latest
# container:
# image: ghcr.nju.edu.cn/catthehacker/ubuntu:act-latest
# volumes:
# - /run/docker.sock:/run/docker.sock
# env:
# DOCKER_ORG: gitea
# DOCKER_LATEST: latest
steps:
- name: Clone
run: |
rm -rf /opt/website
git clone http://www.topverse.world:3000/huxin/TOPVERSE_Official /opt/website
# - name: Clone
# run: |
# rm -rf /opt/website
# git clone http://www.topverse.world:3000/huxin/TOPVERSE_Official /opt/website
- name: Build
run: |
cd /opt/website
docker build -t website-v1:latest "."
- name: Deploy

View File

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