additional prints

This commit is contained in:
Maximilian Keßler 2023-10-19 14:00:54 +02:00
parent c730597f98
commit 7e021be0b8
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -25,7 +25,8 @@ if [ -e "${KEYFILE}" ]; then
echo "Found existing key in ${KEYFILE}, aborting."
echo "Printing private key:"
cat "${KEYFILE}"
exit 1
echo "Add this as 'PAGES_SSH_KEY' to the repository secrets."
exit 0
fi
URL="https://git.abstractnonsen.se/${OWNER}/${REPOSITORY}"
@ -52,5 +53,6 @@ echo "command=\"${DEPLOY_SCRIPT} ${OWNER} ${REPOSITORY}\",no-port-forwarding,no-
echo "Generate and configured new key in ${KEYFILE}"
echo "Printing private key:"
cat "${KEYFILE}"
echo "Add this as 'PAGES_SSH_KEY' to the repository secrets."
exit 0