Step for permissions
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Luca Beltrame 2021-01-03 18:19:35 +01:00
parent 9507dac171
commit c5e2619033
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -2,6 +2,10 @@ kind: pipeline
type: docker
name: default
environment:
NGINX_UID: 476
NGINX_GID: 476
steps:
- name: submodules
image: alpine/git
@ -19,8 +23,9 @@ steps:
pull: never
settings:
source: public/
target: /tmp/
target: /tmp/denno/
recursive: true
user: 476
volumes:
- name: site
path: /site
@ -28,6 +33,13 @@ steps:
#branch:
#exclude:
#- master
- name: permissions
image: alpine
commands:
- chown -R ${NGINX_UID}:${NGINX_ID} /tmp/denno/
volumes:
- name: site
path: /site
volumes:
- name: site