This commit is contained in:
parent
3e9c0e1122
commit
105a2d8a0f
1 changed files with 11 additions and 1 deletions
10
.drone.yml
10
.drone.yml
|
@ -8,3 +8,13 @@ steps:
|
|||
- hugo build
|
||||
- ls -la
|
||||
- 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
|
Loading…
Reference in a new issue