Files
angular.js/scripts/docs.angularjs.org-firebase/readme.firebase.docs.md
T
Pete Bacon Darwin a0488b30a7 chore(ci): move over to CircleCi config
This commit gets rid of all references to Travis and, belatedly, Jenkins.
Now all CI is done on CircleCI and releases are run locally.

The CI no longer updates the docs and code.angularjs.org for jobs that are
not on the `master` branch.

During releases, the docs and code should be uploaded manually.
2020-05-23 13:22:56 +01:00

947 B

Firebase for docs.angularjs.org

Continuous integration

The docs are deployed to Google Firebase hosting via a CI deployment config, which expects firebase.json to be in the repository root, which is done by a Grunt task (firebaseDocsJsonForCI which is included in prepareDeploy). The firebaseDocsJsonForCI task modifies the paths in the firebase.json and copies it to the repository root.

See .circleci/config.yml for the complete deployment config and build steps.

Serving locally:

  • Run grunt:prepareDeploy. This copies docs content files into deploy/docs and the partials for Search Engine AJAX Crawling into ./functions/content.

  • Run firebase serve --only functions,hosting Creates a server at localhost:5000 that serves from deploy/docs and uses the local function

See /scripts/code.angularjs.org-firebase/readme.firebase.code.md for the firebase deployment to code.angularjs.org