Skip to content

Commit 852eb88

Browse files
Duplicate sitemap for staging, testing, and prod build actions
Will be used for upcoming domain change project
1 parent df153d2 commit 852eb88

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/build-production-site.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,13 @@ jobs:
211211
run: |
212212
echo $GITHUB_SHA > public/gitcommithash.txt
213213
214+
# Temporarily need this for akamai.com/cloud renaming
215+
- name: 14. Make duplicate sitemap file under different name
216+
working-directory: ./docs-repo
217+
run: |
218+
cd public
219+
cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }}
220+
214221
# Make a tarball of the site, because it will upload much, much quicker
215222
# than the uncompressed rendered site. The commit for this workflow run
216223
# is encoded in the name of the tarball.

.github/workflows/build-staging-site.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,13 @@ jobs:
218218
run: |
219219
echo $GITHUB_SHA > public/gitcommithash.txt
220220
221+
# Temporarily need this for akamai.com/cloud renaming
222+
- name: 14. Make duplicate sitemap file under different name
223+
working-directory: ./docs-repo
224+
run: |
225+
cd public
226+
cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }}
227+
221228
# Make a tarball of the site, because it will upload much, much quicker
222229
# than the uncompressed rendered site. The commit for this workflow run
223230
# is encoded in the name of the tarball.

.github/workflows/build-testing-site.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,13 @@ jobs:
219219
run: |
220220
echo $GITHUB_SHA > public/gitcommithash.txt
221221
222+
# Temporarily need this for akamai.com/cloud renaming
223+
- name: 14. Make duplicate sitemap file under different name
224+
working-directory: ./docs-repo
225+
run: |
226+
cd public
227+
cp sitemap.xml ${{ vars.DUPE_SITEMAP_NAME }}
228+
222229
# Make a tarball of the site, because it will upload much, much quicker
223230
# than the uncompressed rendered site. The commit for this workflow run
224231
# is encoded in the name of the tarball.

0 commit comments

Comments
 (0)