From 105a2d8a0f79300826040bc89809f5cb87bc7c5a Mon Sep 17 00:00:00 2001 From: kekskurse Date: Fri, 14 Oct 2022 16:19:42 +0200 Subject: [PATCH] test branching --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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