Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 26e13e5

Browse files
committed
chore(ci): fix docs deployment to Firebase (deploy-docs CI job)
Previously, the command used to deploy the docs to Firebase (as part of the `deploy-docs` CI job) would fail, because no target project was specified (either directly in the command or indirectly via a `.firebaserc` file in the working directory). Example failure: https://app.circleci.com/pipelines/github/angular/angular.js/ 166/workflows/34c692ec-18d4-4422-a1cf-108a91219fa5/jobs/1744 This commit fixes the command by specifying the project via the `--project` cli argument. It also adds the commit SHA as message to make it easier to associate a deployment with the corresponding commit. Closes #17066
1 parent 4428dd0 commit 26e13e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ jobs:
388388
# Install dependencies for Firebase functions to prevent parsing errors during deployment
389389
# See https://github.com/angular/angular.js/pull/16453
390390
- run: yarn --cwd scripts/docs.angularjs.org-firebase/functions
391-
- run: yarn firebase deploy --token "$FIREBASE_TOKEN" --only hosting
391+
- run: yarn firebase deploy --message "Commit:\ $CI_COMMIT" --non-interactive --only hosting --project "docs-angularjs-org-9p2" --token "$FIREBASE_TOKEN"
392392

393393
workflows:
394394
version: 2

0 commit comments

Comments
 (0)