ci: try without permissions fix
This commit is contained in:
parent
10f915fe3e
commit
8362e55231
27
.drone.yml
27
.drone.yml
|
@ -16,26 +16,11 @@ steps:
|
||||||
key:
|
key:
|
||||||
from_secret: ps_ssh_key
|
from_secret: ps_ssh_key
|
||||||
source:
|
source:
|
||||||
- !.envrc
|
- "!.envrc"
|
||||||
- !.git
|
- "!.git"
|
||||||
- !.gitignore
|
- "!.gitignore"
|
||||||
- !.drone.yml
|
- "!.drone.yml"
|
||||||
- !LICENSE.md
|
- "!LICENSE.md"
|
||||||
- !shell.nix
|
- "!shell.nix"
|
||||||
- ./*
|
- ./*
|
||||||
target: /data/www/pub.solar/matrix-domain/
|
target: /data/www/pub.solar/matrix-domain/
|
||||||
|
|
||||||
- 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