From 39036749f779dd89c189b3f0a5cdaa7fd12d6992 Mon Sep 17 00:00:00 2001 From: Varun Dutta <72882713+Varun-Dutta@users.noreply.github.com> Date: Fri, 19 Jul 2024 16:29:39 -0700 Subject: [PATCH] Update docs.yml --- .github/workflows/docs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 70b7d9ed873..cc3b5724cae 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -185,9 +185,11 @@ jobs: run: | git checkout gh-pages ls - if ["$TESTING" = "true"]; then + if [ "$TESTING" = "true" ]; then + echo "TEST SYNC" aws s3 sync . s3://updated-documentation-website/website --delete else + echo "REAL SYNC" aws s3 sync . s3://djl-ai/documentation/nightly --delete aws cloudfront create-invalidation --distribution-id E733IIDCG0G5U --paths "/*" fi