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 ]
|
||||
commands:
|
||||
- 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:
|
||||
RCLONE_SFTP_HOST: git.tilera.org
|
||||
RCLONE_SFTP_USER: webmaster
|
||||
RCLONE_SFTP_PORT: "2220"
|
||||
RCLONE_SFTP_PORT: "2022"
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
|
|
2
mpt.yaml
2
mpt.yaml
|
@ -11,7 +11,7 @@ steps:
|
|||
api_key:
|
||||
from_secret: gitea_token
|
||||
note: CHANGELOG.md
|
||||
title: ${DRONE_TAG}
|
||||
title: ${CI_COMMIT_TAG}
|
||||
files:
|
||||
- build/*
|
||||
when:
|
||||
|
|
|
@ -9,11 +9,11 @@ steps:
|
|||
secrets: [ web_pw ]
|
||||
commands:
|
||||
- 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:
|
||||
RCLONE_SFTP_HOST: git.tilera.org
|
||||
RCLONE_SFTP_USER: webmaster
|
||||
RCLONE_SFTP_PORT: "2220"
|
||||
RCLONE_SFTP_PORT: "2022"
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
|
|
Loading…
Reference in a new issue