更新 .drone.yml
Some checks are pending
部署文档 / deploy-gh-pages (push) Waiting to run
continuous-integration/drone/push Build is passing

This commit is contained in:
罗佳鸿 2024-08-17 03:14:31 +00:00
parent 3e7f95dc72
commit c4db9bcfba

View File

@ -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/