Skip to content

Commit

Permalink
Merge pull request #4 from zkSync-Community-Hub/update-deploy-pipeline
Browse files Browse the repository at this point in the history
chore: fixup deploy workflows
  • Loading branch information
itsacoyote authored May 9, 2024
2 parents d90bc2f + 274f397 commit a13cd12
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"projects": {
"default": "community-cookbook-staging"
"default": "community-cookbook-staging",
"prod": "community-cookbook-59807"
}
}
5 changes: 5 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
pull_request:
workflow_dispatch:

permissions:
checks: write
contents: read
pull-requests: write

jobs:
build_and_preview:
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
- uses: matter-labs/action-hosting-deploy@main
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_COMMUNITY_COOKBOOK }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_COMMUNITY_COOKBOOK_59807 }}"
target: prod
projectId: community-cookbook
projectId: community-cookbook-59807
channelId: live

# TODO: re-enable once we are closer to production deployment
Expand Down
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit a13cd12

Please sign in to comment.