更新 Alasan/location/drone.yaml

This commit is contained in:
Alasan 2024-05-30 17:14:13 +08:00
parent 8fde4de07f
commit 1ece99ed21
1 changed files with 26 additions and 1 deletions

View File

@ -4,12 +4,22 @@ name: default
clone: clone:
display: false display: false
steps: steps:
- name: loading cache
pull: if-not-exists
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./nugetpackages
- name: git pull - name: git pull
image: alpine/git image: alpine/git
commands: commands:
- git clone -b master http://119.91.37.71:3000/Alasan/location.git - git clone -b master http://119.91.37.71:3000/Alasan/location.git
- name: wgetDist - name: wgetDist
image: linux image: ubuntu:latest
commands: commands:
- echo "start" - echo "start"
- wget http://119.91.37.71:90/simp/location/simplocation.zip && unzip simplocation.zip - wget http://119.91.37.71:90/simp/location/simplocation.zip && unzip simplocation.zip
@ -28,6 +38,21 @@ steps:
from_secret: docker_password from_secret: docker_password
tags: tags:
- latest - latest
- name: rebuild cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./nugetpackages
volumes:
- name: cache
host:
path: /tmp/drone-cache
trigger: trigger:
branch: branch: