From 188c58dd78e907bf5b6cda58a56607839751ab73 Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 13 Mar 2024 12:25:46 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=88=20hail=20mary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bundle-deploy-eas-update.yml | 2 ++ app.config.js | 2 +- scripts/bundleUpdate.sh | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bundle-deploy-eas-update.yml b/.github/workflows/bundle-deploy-eas-update.yml index 0376673dd0..faeb64e50e 100644 --- a/.github/workflows/bundle-deploy-eas-update.yml +++ b/.github/workflows/bundle-deploy-eas-update.yml @@ -46,3 +46,5 @@ jobs: - name: 📦 Package Bundle and 🚀 Deploy run: yarn make-deploy-bundle + env: + DENNIS_API_KEY: ${{ secrets.DENNIS_API_KEY }} diff --git a/app.config.js b/app.config.js index 4878d8a0ba..f49d419f9b 100644 --- a/app.config.js +++ b/app.config.js @@ -122,7 +122,7 @@ module.exports = function (config) { favicon: './assets/favicon.png', }, updates: { - url: 'http://localhost:3000/api/manifest', + url: 'https://updates.bsky.app/manifest', enabled: true, fallbackToCacheTimeout: 30000, codeSigningCertificate: './code-signing/certificate.pem', diff --git a/scripts/bundleUpdate.sh b/scripts/bundleUpdate.sh index 9290de9f8d..a09dd105dc 100644 --- a/scripts/bundleUpdate.sh +++ b/scripts/bundleUpdate.sh @@ -16,10 +16,10 @@ tar czvf bundle.tar.gz ./* echo "Deploying to $DEPLOYMENT_URL..." -#curl --form 'bundle=@./bundle.tar.gz' \ -#--user bsky:abc \ -#--basic "$DEPLOYMENT_URL" \ -#/ +curl --form 'bundle=@./bundle.tar.gz' \ +--user "bsky:$DENNIS_API_KEY" \ +--basic "$DEPLOYMENT_URL" \ +/ cd ..