更新 .drone.yml
This commit is contained in:
parent
3e7f95dc72
commit
c4db9bcfba
15
.drone.yml
15
.drone.yml
|
|
@ -11,11 +11,6 @@ volumes:
|
|||
path: /var/lib/drone/vuepress_output
|
||||
|
||||
steps:
|
||||
- name: check-source-directory
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- pwd
|
||||
|
||||
- name: build-vuepress
|
||||
image: node:20.16.0
|
||||
volumes:
|
||||
|
|
@ -30,8 +25,8 @@ steps:
|
|||
|
||||
|
||||
|
||||
- name: deploy
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk add --no-cache rsync
|
||||
- rsync -av --delete /var/lib/drone/vuepress_output/ /usr/share/nginx/html/
|
||||
# - name: deploy
|
||||
# image: alpine:latest
|
||||
# commands:
|
||||
# - apk add --no-cache rsync
|
||||
# - rsync -av --delete /var/lib/drone/vuepress_output/ /usr/share/nginx/html/
|
||||
|
|
|
|||
Loading…
Reference in New Issue