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

Commit 336bad1

Browse files
authored
chore(docs.angularjs.org): deploy sitemap.xml
Closes #16445
1 parent 553ca78 commit 336bad1

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Gruntfile.js

+3-6
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ module.exports = function(grunt) {
162162

163163
clean: {
164164
build: ['build'],
165-
tmp: ['tmp']
165+
tmp: ['tmp'],
166+
deploy: ['uploadDocs', 'uploadCode']
166167
},
167168

168169
eslint: {
@@ -339,7 +340,7 @@ module.exports = function(grunt) {
339340
files: [
340341
// The source files are needed by the embedded examples in the docs app.
341342
{
342-
src: 'build/angular*.{js,js.map,min.js}',
343+
src: ['build/angular*.{js,js.map,min.js}', 'build/sitemap.xml'],
343344
dest: 'uploadDocs/',
344345
expand: true,
345346
flatten: true
@@ -376,10 +377,6 @@ module.exports = function(grunt) {
376377
},
377378

378379
shell: {
379-
// Travis expects the firebase.json in the repository root, but we have it in a sub-folder
380-
'symlink-firebase-docs': {
381-
command: 'ln -s ./scripts/docs.angularjs.org-firebase/firebase.json ./firebase.json'
382-
},
383380
'install-node-dependencies': {
384381
command: 'yarn'
385382
},

0 commit comments

Comments
 (0)