ci: exclude hidden files, fix permissions after scp
This commit is contained in:
parent
4bf7eb4eb1
commit
9b8be4f9e9
24
.drone.yml
24
.drone.yml
|
@ -15,5 +15,27 @@ steps:
|
|||
from_secret: ps_ssh_user
|
||||
key:
|
||||
from_secret: ps_ssh_key
|
||||
source: ./*
|
||||
source:
|
||||
- !.envrc
|
||||
- !.git
|
||||
- !.gitignore
|
||||
- !.drone.yml
|
||||
- !LICENSE.md
|
||||
- !shell.nix
|
||||
- ./*
|
||||
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