diff --git a/.drone.yml b/.drone.yml index 967c499..fcd8b27 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,14 +12,17 @@ steps: - git submodule update - cd brainsteam - hugo + - cd ../ + - git checkout public + - cd ../ && mv brainsteam/public/* . + - rm -rf brainsteam/ - name: hugo_publish #image: alpine:3.12.3 image: appleboy/drone-git-push settings: remote_name: origin - branch: master - local_ref: master - path: brainsteam/public/ + branch: public + local_ref: public commit: true commit_message: update build from hugo author_name: DroneCI