diff --git a/.drone.yml b/.drone.yml index cf64e33..b2d38e1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,4 +7,14 @@ steps: commands: - hugo build - ls -la - - ls -lah public \ No newline at end of file + - ls -lah public +- name: release + image: docker:git + commands: + - mkdir /tmp/webpage + - cp -R public/* /tmp/webpage + - git checkout webpage + - git pull origin webpage + - rm -r -f * + - cp -R /tmp/webpage/* ./ + - ls -lah \ No newline at end of file