diff --git a/.github/workflows/deloy-beta.yml b/.github/workflows/deloy-beta.yml index 5e53eefe..83ca63ef 100644 --- a/.github/workflows/deloy-beta.yml +++ b/.github/workflows/deloy-beta.yml @@ -32,7 +32,7 @@ jobs: - name: Setup Firebase Hosting 🔥 env: - BETA_FIREBASE_PROJECT_ID: ${{ secrets.BETA_FIREBASE_PROJECT_ID }} + BETA_FIREBASE_PROJECT_ID: ${{ vars.BETA_FIREBASE_PROJECT_ID }} BETA_FIREBASE_HOSTING_SITE: ${{ vars.BETA_FIREBASE_HOSTING_SITE }} run: | jq -n --arg default "$BETA_FIREBASE_PROJECT_ID" '{ "projects": { "default": $default } }' > .firebaserc diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b42e64d9..eac3b4fe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,12 +30,62 @@ jobs: ./packages/ide/cleanup-icons.sh npm run release + - name: Setup Firebase Hosting 🔥 + env: + FIREBASE_PROJECT_ID: ${{ vars.FIREBASE_PROJECT_ID }} + FIREBASE_HOSTING_SITE: ${{ vars.FIREBASE_HOSTING_SITE }} + run: | + jq -n --arg default "$FIREBASE_PROJECT_ID" '{ "projects": { "default": $default } }' > .firebaserc + cat <