Skip to content

Commit

Permalink
Upload sitemap.xml file with deployment (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiemh authored Mar 5, 2024
1 parent e300cf4 commit 7ddce2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ deploy:
aws s3 sync --region eu-west-2 --cache-control "public, max-age=31536000, immutable" --exclude ".DS_Store" ./build/docs/assets s3://www.surrealdb.com/docs/assets/
aws s3 sync --region eu-west-2 --cache-control "public, max-age=300" --delete ./build/docs/img s3://www.surrealdb.com/docs/img/
aws s3 sync --region eu-west-2 --cache-control "public, max-age=300" --exact-timestamps --delete --exclude "*" --include "*.html" ./build/docs s3://www.surrealdb.com/docs/
aws s3 cp --region eu-west-2 --cache-control "public, max-age=30" ./build/docs/sitemap.xml s3://www.surrealdb.dev/docs/

.PHONY: stage
stage:
@echo "Stage..."
aws s3 sync --region eu-west-2 --cache-control "public, max-age=31536000, immutable" --exclude ".DS_Store" ./build/docs/assets s3://www.surrealdb.dev/docs/assets/
aws s3 sync --region eu-west-2 --cache-control "public, max-age=300" --delete ./build/docs/img s3://www.surrealdb.dev/docs/img/
aws s3 sync --region eu-west-2 --cache-control "public, max-age=300" --exact-timestamps --delete --exclude "*" --include "*.html" ./build/docs s3://www.surrealdb.dev/docs/
aws s3 cp --region eu-west-2 --cache-control "public, max-age=30" ./build/docs/sitemap.xml s3://www.surrealdb.com/docs/

.PHONY: build
build:
Expand Down

0 comments on commit 7ddce2d

Please sign in to comment.