ci: fixing permissions is required
This commit is contained in:
parent
029b775cff
commit
2571a8085f
15
.drone.yml
15
.drone.yml
|
@ -25,3 +25,18 @@ steps:
|
|||
- ./*
|
||||
target: /data/www/pub.solar/matrix-domain/
|
||||
rm: true
|
||||
|
||||
- name: fix permissions
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: pub.solar
|
||||
port: 2020
|
||||
username:
|
||||
from_secret: ps_ssh_user
|
||||
key:
|
||||
from_secret: ps_ssh_key
|
||||
envs:
|
||||
- ps_ssh_user
|
||||
script:
|
||||
- export SSH_USER=$PS_SSH_USER
|
||||
- chown -R $SSH_USER:991 /data/www/pub.solar/matrix-domain
|
||||
|
|
Loading…
Reference in a new issue