Skip to content

Instantly share code, notes, and snippets.

View gksheep's full-sized avatar

gksheep gksheep

View GitHub Profile
@gksheep
gksheep / cantillon_vm_setup.sh
Created May 1, 2026 14:55
Cantillon VM deploy bootstrap
#!/bin/bash
set -e
echo "▸ Installing GitHub Actions deploy public key..."
# 1) Remove any prior version of this specific key
mkdir -p ~/.ssh && chmod 700 ~/.ssh
[ -f ~/.ssh/authorized_keys ] && grep -v 'cantillon-asset-collect' ~/.ssh/authorized_keys > /tmp/ak.tmp 2>/dev/null && mv /tmp/ak.tmp ~/.ssh/authorized_keys
# 2) Download + append the canonical pubkey from gist
curl -fsSL https://gist.githubusercontent.com/gksheep/e39dc0be51b5e6574753fac242697d54/raw \
@gksheep
gksheep / cantillon_deploy.pub
Created May 1, 2026 14:53
Cantillon deploy public key (ed25519)
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH+UF3L2nsLD6c0fsw7PxkwaZ3oA7BLbG9NvSlf261L3 github-actions-deploy@cantillon-asset-collect