h.hackclub.app/website-deploy-action.sh
2024-04-06 17:56:50 -07:00

9 lines
191 B
Bash
Executable file

#!/bin/bash
# Assuming that this is an Alpine container.
apk update
apk upgrade
apk add openssh
mkdir .ssh
echo $DEPLOY_SSH_KEY > .ssh/id_ed25519
chmod -R go-rwx .ssh
exec ssh h@hackclub.app