From 6a0370fb7cca295dc0bf499317b688c136a80c2b Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Thu, 8 Feb 2018 19:26:12 +0100 Subject: [PATCH] chore(docs.angularjs.org): deploy sitemap.xml --- Gruntfile.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index d60565cd3147..68bc0b3bb23b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -162,7 +162,8 @@ module.exports = function(grunt) { clean: { build: ['build'], - tmp: ['tmp'] + tmp: ['tmp'], + deploy: ['uploadDocs', 'uploadCode'] }, eslint: { @@ -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 @@ -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': { - command: 'ln -s ./scripts/docs.angularjs.org-firebase/firebase.json ./firebase.json' - }, 'install-node-dependencies': { command: 'yarn' },