Repair GitHub Release Workflow

This commit is contained in:
alex committed 2023-01-28 21:09:40 -08:00
1 parent 20a6359d5d
commit 404d01c649
4 files changed
+29 -22

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
BACKBLAZE_B2_VERSION="3.6.0"
curl -sL -o b2 "https://github.com/Backblaze/B2_Command_Line_Tool/releases/download/v${BACKBLAZE_B2_VERSION}/b2-linux"
chmod +x b2
./b2 authorize-account "${ARTIFACTS_KEY_ID}" "${ARTIFACTS_APP_KEY}"
./b2 sync --delete --replaceNewer artifacts/ "b2:///${ARTIFACTS_BUCKET}/foundation/"