This commit is contained in:
parent
7613f04bf5
commit
f1698e4afa
1 changed files with 3 additions and 10 deletions
13
.drone.yml
13
.drone.yml
|
@ -16,7 +16,7 @@ steps:
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
settings:
|
settings:
|
||||||
hugo_version: 0.79.0
|
hugo_version: 0.79.0
|
||||||
validate: false
|
validate: true
|
||||||
|
|
||||||
- name: fix-links
|
- name: fix-links
|
||||||
image: alpine
|
image: alpine
|
||||||
|
@ -30,29 +30,22 @@ steps:
|
||||||
pull: never
|
pull: never
|
||||||
settings:
|
settings:
|
||||||
source: public/
|
source: public/
|
||||||
target: /tmp/denno/
|
target: /site/dennogumi.org/
|
||||||
recursive: true
|
recursive: true
|
||||||
user: 476
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: site
|
- name: site
|
||||||
path: /site
|
path: /site
|
||||||
- name: denno
|
|
||||||
path: /tmp/denno
|
|
||||||
|
|
||||||
- name: permissions
|
- name: permissions
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- chown -R $NGINX_UID:$NGINX_ID /tmp/denno/
|
- chown -R $NGINX_UID:$NGINX_ID /site/dennogumi.org
|
||||||
- ls -l /tmp/denno/2019
|
- ls -l /tmp/denno/2019
|
||||||
volumes:
|
volumes:
|
||||||
- name: site
|
- name: site
|
||||||
path: /site
|
path: /site
|
||||||
- name: denno
|
|
||||||
path: /tmp/denno
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: site
|
- name: site
|
||||||
host:
|
host:
|
||||||
path: /tmp/
|
path: /tmp/
|
||||||
- name: denno
|
|
||||||
temp: {}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue