Update CI
This commit is contained in:
parent
2fbea06918
commit
1cee8443b5
1 changed files with 8 additions and 5 deletions
13
.drone.yml
13
.drone.yml
|
@ -54,12 +54,13 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /cache
|
path: /cache
|
||||||
|
- name: pages
|
||||||
|
path: /tmp/pages
|
||||||
commands:
|
commands:
|
||||||
- ls -la
|
- git clone --depth 1 --branch pages https://git.dergrimm.net/dergrimm/hydroforth.git /tmp/pages_old
|
||||||
- git pull
|
- cp -r /tmp/pages_old/.git /tmp/pages
|
||||||
- git checkout pages
|
- cp -r ./docs/html /tmp/pages
|
||||||
- shopt -s extglob; rm -rf !(.git)
|
- ls -la /tmp/pages
|
||||||
- ls -la
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- restore-cache
|
- restore-cache
|
||||||
# - name: deploy-pages
|
# - name: deploy-pages
|
||||||
|
@ -83,6 +84,8 @@ volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
host:
|
host:
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
|
- name: pages
|
||||||
|
temp: {}
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- default
|
- default
|
||||||
|
|
Loading…
Reference in a new issue