1 Star 0 Fork 74

snow4aa001/半夏VR全景

forked from 辰一一/半夏VR全景 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.drone.yml 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
辰一一 提交于 2025-02-19 17:58 +08:00 . 取消
kind: pipeline
type: docker
name: default
steps:
- name: restore cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./node_modules
- ./.pnpm-store
- name: install package and build
image: node:21
commands:
- cd admin-vue
- npm i --no-frozen-lockfile
- npm run build
- chmod -R 777 ./dist/*
- name: deploy
image: ghcr.io/appleboy/drone-ssh
settings:
host: 43.133.225.186
username: ubuntu
password:
from_secret: ssh_pwd
port: 22
script:
- sudo rm -rf /www/wwwroot/panorama/back
- sudo mkdir -p /www/wwwroot/panorama/back
- sudo chmod 777 /www/wwwroot/panorama/back
- name: publish
image: appleboy/drone-scp:1.6.4
pull: if-not-exists
settings:
host: 43.133.225.186
username: ubuntu
password:
from_secret: ssh_pwd
port: 22
source: ./admin-vue/dist/*
target: /www/wwwroot/panorama/back/
strip_components: 2
debug: true
- name: rebuild cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./node_modules
- ./.pnpm-store
trigger:
branch:
include:
- master
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/snow4aa001/sp_panorama.git
git@gitee.com:snow4aa001/sp_panorama.git
snow4aa001
sp_panorama
半夏VR全景
master

搜索帮助