summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amplify.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/amplify.yml b/amplify.yml
index 882ded4..1940461 100644
--- a/amplify.yml
+++ b/amplify.yml
@@ -18,6 +18,7 @@ applications:
- source .venv/bin/activate
- 'if [ "$AWS_BRANCH" = "production" ]; then export SOUPAULT_OPTS="--profile live"; else export SOUPAULT_OPTS="--profile staging"; fi'
- make all
+ - 'if [ "$AWS_BRANCH" = "production" ]; then python3 scripts/generate-sitemap.py; fi'
artifacts:
baseDirectory: /build
files: