See the best posts from any Bluesky account
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add Tangled spindle deploy workflow

Mirrors the GitHub Actions deploy workflow so pushes to main also
trigger a deploy when the repo is hosted on Tangled.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+26
+26
.tangled/workflows/deploy.yml
··· 1 + when: 2 + - event: ["push", "manual"] 3 + branch: ["main"] 4 + 5 + engine: "nixery" 6 + 7 + clone: 8 + skip: true 9 + 10 + dependencies: 11 + nixpkgs: 12 + - openssh 13 + 14 + steps: 15 + - name: "Deploy via SSH" 16 + command: | 17 + set -euo pipefail 18 + mkdir -p ~/.ssh 19 + printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/id_deploy 20 + chmod 600 ~/.ssh/id_deploy 21 + ssh \ 22 + -i ~/.ssh/id_deploy \ 23 + -o StrictHostKeyChecking=no \ 24 + -o UserKnownHostsFile=/dev/null \ 25 + "$DEPLOY_USER@$DEPLOY_HOST" \ 26 + "cd $DEPLOY_PATH && ./deploy.sh"