fix: web paths
This commit is contained in:
parent
79b3852a37
commit
22ffb1a807
3 changed files with 5 additions and 5 deletions
|
@ -9,11 +9,11 @@ steps:
|
||||||
secrets: [ web_pw ]
|
secrets: [ web_pw ]
|
||||||
commands:
|
commands:
|
||||||
- export RCLONE_SFTP_PASS="$(rclone obscure $WEB_PW)"
|
- export RCLONE_SFTP_PASS="$(rclone obscure $WEB_PW)"
|
||||||
- rclone sync ./public/ :sftp:/home/webmaster/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}
|
- rclone sync ./public/ :sftp:/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
||||||
environment:
|
environment:
|
||||||
RCLONE_SFTP_HOST: git.tilera.org
|
RCLONE_SFTP_HOST: git.tilera.org
|
||||||
RCLONE_SFTP_USER: webmaster
|
RCLONE_SFTP_USER: webmaster
|
||||||
RCLONE_SFTP_PORT: "2220"
|
RCLONE_SFTP_PORT: "2022"
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
event: push
|
||||||
|
|
2
mpt.yaml
2
mpt.yaml
|
@ -11,7 +11,7 @@ steps:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
note: CHANGELOG.md
|
note: CHANGELOG.md
|
||||||
title: ${DRONE_TAG}
|
title: ${CI_COMMIT_TAG}
|
||||||
files:
|
files:
|
||||||
- build/*
|
- build/*
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -9,11 +9,11 @@ steps:
|
||||||
secrets: [ web_pw ]
|
secrets: [ web_pw ]
|
||||||
commands:
|
commands:
|
||||||
- export RCLONE_SFTP_PASS="$(rclone obscure $WEB_PW)"
|
- export RCLONE_SFTP_PASS="$(rclone obscure $WEB_PW)"
|
||||||
- rclone sync ./public/ :sftp:/home/webmaster/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}
|
- rclone sync ./public/ :sftp:/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
||||||
environment:
|
environment:
|
||||||
RCLONE_SFTP_HOST: git.tilera.org
|
RCLONE_SFTP_HOST: git.tilera.org
|
||||||
RCLONE_SFTP_USER: webmaster
|
RCLONE_SFTP_USER: webmaster
|
||||||
RCLONE_SFTP_PORT: "2220"
|
RCLONE_SFTP_PORT: "2022"
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
event: push
|
||||||
|
|
Loading…
Reference in a new issue