forked from 9pfs/h.hackclub.app
9 lines
191 B
Bash
Executable file
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
|