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

Chore sitemap deploy #16445

Merged
merged 1 commit into from
Feb 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ module.exports = function(grunt) {

clean: {
build: ['build'],
tmp: ['tmp']
tmp: ['tmp'],
deploy: ['uploadDocs', 'uploadCode']
},

eslint: {
Expand Down Expand Up @@ -339,7 +340,7 @@ module.exports = function(grunt) {
files: [
// The source files are needed by the embedded examples in the docs app.
{
src: 'build/angular*.{js,js.map,min.js}',
src: ['build/angular*.{js,js.map,min.js}', 'build/sitemap.xml'],
dest: 'uploadDocs/',
expand: true,
flatten: true
Expand Down Expand Up @@ -376,10 +377,6 @@ module.exports = function(grunt) {
},

shell: {
// Travis expects the firebase.json in the repository root, but we have it in a sub-folder
'symlink-firebase-docs': {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed. We copy the firebase.json instead.

command: 'ln -s ./scripts/docs.angularjs.org-firebase/firebase.json ./firebase.json'
},
'install-node-dependencies': {
command: 'yarn'
},
Expand Down