diff --git a/action.yml b/action.yml index 202dfbf..bd591db 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,9 @@ runs: set -e USERNAME=$(echo "${GITHUB_REPOSITORY}" | cut -d'/' -f1) REPO=$(echo "${GITHUB_REPOSITORY}" | cut -d'/' -f2) + echo "For user $USERNAME, repository $REPO" TARGET="/srv/sites/${USERNAME}/${REPO}" mkdir -p "$TARGET" + echo "$(hostname)" rm -rf "$TARGET"/* cp -r "${{ inputs.root }}/." "$TARGET/"