chadtmiller.com/knotless
git that lives in your Atmosphere account
1
10
The deploy's key step is the shared ssh-key step
.knotless/workflows/deploy.yml+2−4
| @@ -156,10 +156,8 @@ steps: | ||
EOF | ||
chmod +x /usr/local/bin/on-host /usr/local/bin/moved /usr/local/bin/unless-moved | ||
- name: key | ||
run: | | ||
mkdir -p ~/.ssh && chmod 700 ~/.ssh | ||
printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519 | ||
printf 'Host *\n StrictHostKeyChecking accept-new\n' > ~/.ssh/config | ||
uses: chadtmiller.com/steps/ssh-key@1 | ||
secrets: {SSH_KEY: DEPLOY_SSH_KEY} | ||
- name: build | ||
run: | | ||
# Unsure where main is, it builds: the deploy step asks again. | ||
.knotless/uses.lock+4−0
| @@ -19,3 +19,7 @@ chadtmiller.com/steps/rust-lint@1: | ||
version: 1.0.0 | ||
commit: 686cdbb38978730bb1ba5d1c999967e48497ce15 | ||
release: at://did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.release/3mza7iq7tundv.zvxvlxa6fe7s4pnwsnmgmm63aj.sjjb7q6l3fsl3spvqsuzdoe73w | ||
chadtmiller.com/steps/ssh-key@1: | ||
version: 1.0.0 | ||
commit: 686cdbb38978730bb1ba5d1c999967e48497ce15 | ||
release: at://did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.release/3mza7iq7tundv.pfrqohjhiqrsu5ecw3khmnp2pv.sjjb7q6l3fsl3spvqsuzdoe73w | ||