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 deploy workflow #1

open opened by btao.org targeting main from tangled-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

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:rkagcldecxf64optplrqkhwl/sh.tangled.repo.pull/3mkuyshw6zn22
+26
Diff #0
+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"

History

1 round 0 comments
sign up or login to add to the discussion
btao.org submitted #0
1 commit
expand
Add Tangled spindle deploy workflow
merge conflicts detected
expand
expand 0 comments