ci: switch to dedicated host for website
This commit is contained in:
parent
2234476755
commit
58dcb5b50f
17
.drone.yml
17
.drone.yml
|
@ -23,20 +23,5 @@ steps:
|
||||||
- "!LICENSE.md"
|
- "!LICENSE.md"
|
||||||
- "!shell.nix"
|
- "!shell.nix"
|
||||||
- ./*
|
- ./*
|
||||||
target: /data/www/pub.solar/matrix-domain/
|
target: /srv/pub.solar/
|
||||||
overwrite: true
|
overwrite: 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