Update .drone.yml
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Eric X. Liu 2023-09-18 04:20:01 +00:00
parent 9a38aab6c2
commit 23430e646b

View File

@ -17,6 +17,10 @@ steps:
- ssh-keyscan -H git.ericxliu.me > $HOME/.ssh/known_hosts - ssh-keyscan -H git.ericxliu.me > $HOME/.ssh/known_hosts
- git clone --branch gitea-pages git@git.ericxliu.me:eric/ericxliu-me.git /output - git clone --branch gitea-pages git@git.ericxliu.me:eric/ericxliu-me.git /output
- find /output -mindepth 1 -not -regex "^.*\/.git.*" -delete - find /output -mindepth 1 -not -regex "^.*\/.git.*" -delete
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build - name: build
image: plugins/hugo image: plugins/hugo
volumes: volumes: