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

Commit 9a0f1ab

Browse files
committed
chore(docs.angularjs.org): deploy sitemap.xml
Closes #16445
1 parent c484213 commit 9a0f1ab

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Gruntfile.js

Lines changed: 3 additions & 6 deletions
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: {
@@ -326,7 +327,7 @@ module.exports = function(grunt) {
326327
files: [
327328
// The source files are needed by the embedded examples in the docs app.
328329
{
329-
src: 'build/angular*.{js,js.map,min.js}',
330+
src: ['build/angular*.{js,js.map,min.js}', 'build/sitemap.xml'],
330331
dest: 'uploadDocs/',
331332
expand: true,
332333
flatten: true
@@ -363,10 +364,6 @@ module.exports = function(grunt) {
363364
},
364365

365366
shell: {
366-
// Travis expects the firebase.json in the repository root, but we have it in a sub-folder
367-
'symlink-firebase-docs': {
368-
command: 'ln -s ./scripts/docs.angularjs.org-firebase/firebase.json ./firebase.json'
369-
},
370367
'install-node-dependencies': {
371368
command: 'yarn'
372369
},

0 commit comments

Comments
 (0)