h.hackclub.app/website-deploy-action.sh
9pfs c42da6b3b3
Some checks failed
Deploy website to nest / deploy (push) Failing after 1m2s
Use the default image for deploying
2024-04-06 18:00:11 -07:00

9 lines
233 B
Bash
Executable file

#!/bin/bash
# Assuming that this is a Debian container.
apt-get update && \
apt-get upgrade -y && \
apt install -y openssh && \
mkdir .ssh && \
echo $DEPLOY_SSH_KEY > .ssh/id_ed25519 && \
chmod -R go-rwx .ssh && \
ssh h@hackclub.app