Skip to content

Commit

Permalink
Bring back dev config for development branch
Browse files Browse the repository at this point in the history
  • Loading branch information
cbhernan committed Nov 21, 2024
1 parent b8691bf commit f1c1b6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ name: Deploy to Firebase Hosting on merge
on:
push:
branches:
- sandbox
- development
jobs:
build_and_deploy:
environment: sandbox
environment: development
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -45,6 +45,6 @@ jobs:
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_ACCOUNT_SANDBOX_422814 }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_ACCOUNT_DEV_402917 }}
channelId: live
projectId: my-account-sandbox-422814
projectId: my-account-dev-402917
6 changes: 3 additions & 3 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.draft == false }}'
runs-on: ubuntu-latest
environment: sandbox
environment: development
steps:
- uses: actions/checkout@v4
# https://github.com/marketplace/actions/flutter-action
Expand Down Expand Up @@ -49,6 +49,6 @@ jobs:
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_ACCOUNT_SANDBOX_422814 }}
projectId: my-account-sandbox-422814
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_ACCOUNT_DEV_402917 }}
projectId: my-account-dev-402917

2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"hosting": {
"target": "angeleno-my-account-sandbox-422814",
"target": "angeleno-my-account-dev-402917",
"public": "build/web",
"ignore": [
"firebase.json",
Expand Down

0 comments on commit f1c1b6a

Please sign in to comment.