Skip to content

Commit 739ae04

Browse files
committed
Add CLEAN_BRANCH_NAME to rsync path
1 parent ea89499 commit 739ae04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
--exclude-from="./etc/deploy-ignore.txt" \
9191
--chown=${SSH_USER}:${SSH_USER} \
9292
-e "ssh -i ${HOME}/.ssh/id_${SSH_USER} -p ${SSH_PORT}" \
93-
"./" "${SSH_USER}@${SSH_HOST}:${SSH_WEB_PATH}"
93+
"./" "${SSH_USER}@${SSH_HOST}:${SSH_WEB_PATH}/${CLEAN_BRANCH_NAME}"
9494
9595
# Cleanup the secret
9696
rm -fv "${HOME}/.ssh/id_${SSH_USER}" "${HOME}/.ssh/id_${SSH_USER}.pub"

0 commit comments

Comments
 (0)