Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun-Dutta authored Jul 19, 2024
1 parent c5ca2c5 commit 3903674
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3903674

Please sign in to comment.