Compare commits

...

2 commits

Author SHA1 Message Date
80286d41fa Merge branch 'master' of ssh://git.jackz.me:222/jackz/ssh-scp-deploy 2024-12-12 11:05:28 -06:00
7123b59216 fix port 2024-12-12 11:05:22 -06:00

View file

@ -22,5 +22,5 @@ echo "File transfer complete."
echo "Symlinking, purging old"
echo "Running on ssh: ln -s ${INPUT_REMOTE}/${COMMIT_SHA} ${INPUT_REMOTE}/latest"
ssh -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE \
"${INPUT_USER}"@"${INPUT_HOST}:${INPUT_PORT}" \
"${INPUT_USER}"@"${INPUT_HOST}" -p "${INPUT_PORT}" \
-C "ln -s ${INPUT_REMOTE}/${COMMIT_SHA} ${INPUT_REMOTE}/latest && find ${INPUT_REMOTE} -mindepth 1 -maxdepth 1 -type d -not -path './latest' | tail -n +5 > rm_result.txt"