This commit is contained in:
parent
3e9c0e1122
commit
105a2d8a0f
1 changed files with 11 additions and 1 deletions
12
.drone.yml
12
.drone.yml
|
@ -7,4 +7,14 @@ steps:
|
|||
commands:
|
||||
- hugo build
|
||||
- ls -la
|
||||
- ls -lah public
|
||||
- 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