Skip to content

Commit 09062bd

Browse files
authored
開発環境を追加 (#515)
* fix: update secrets for development deployment in GitHub Actions workflow * fix: add condition to prevent deployment from forked pull requests
1 parent ddd1790 commit 09062bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/github-apps-cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88

99
jobs:
1010
deploy-firebase-functions-dev:
11-
if: github.event_name == 'pull_request'
11+
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false
1212
uses: ./.github/workflows/reusable-deploy-firebase-functions.yml
1313
secrets:
14-
gha_service_account: ${{ secrets.GHA_SERVICE_ACCOUNT_PREVIEW_FUNCS }}
15-
firebase_project_id: ${{ secrets.FIREBASE_PROJECT_ID_FOR_PREVIEW_FUNCTIONS }}
14+
gha_service_account: ${{ secrets.GHA_SERVICE_ACCOUNT_DEV }}
15+
firebase_project_id: ${{ secrets.FIREBASE_PROJECT_ID_DEV }}
1616

1717
deploy-firebase-functions-production:
1818
if: github.event_name == 'push'

0 commit comments

Comments
 (0)