Add setup-remote.sh script and publish it via getbin.xyz CI
All checks were successful
Build-Publish / build (linux/amd64) (push) Successful in 4s
Build-Publish / build (linux/arm64) (push) Successful in 11s
Build-Publish / create-manifest (push) Successful in 2s
Build-Publish / publish-template (push) Successful in 14s

This commit is contained in:
j
2026-03-08 09:44:40 +13:00
parent 1ec3cfd473
commit ce55d6acc7
3 changed files with 254 additions and 8 deletions

View File

@@ -96,7 +96,19 @@ jobs:
fi
- name: Publish template
env:
SOS_WRITE_TOKEN: ${{ secrets.SOS_WRITE_TOKEN }}
run: |
if [ "$GITHUB_REF" = "refs/heads/main" ]; then
SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} ~/.local/bin/dropshell publish --all ./
~/.local/bin/dropshell publish --all ./
fi
- name: Publish setup script to getbin.xyz
env:
SOS_WRITE_TOKEN: ${{ secrets.SOS_WRITE_TOKEN }}
run: |
if [ "$GITHUB_REF" = "refs/heads/main" ]; then
curl -L -s -o /tmp/sos "https://getbin.xyz/sos:latest"
chmod +x /tmp/sos
/tmp/sos upload "getbin.xyz" "./setup-remote.sh" "infmap-setup:latest"
fi