Skip to content

Commit 7d21f51

Browse files
committed
Fix llms.txt
1 parent c1e2cb1 commit 7d21f51

File tree

3 files changed

+3
-63
lines changed

3 files changed

+3
-63
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ deploy:
7777
@echo "Deploy..."
7878
aws s3 sync --region eu-west-2 --cache-control "public, max-age=31536000, immutable" --exclude '.DS_Store' --exclude '*' --include '*.webp' --content-type 'image/webp' ./dist/docs/_astro s3://www.surrealdb.com/docs/_astro/
7979
aws s3 sync --region eu-west-2 --cache-control "public, max-age=31536000, immutable" --exclude '.DS_Store' --exclude '*.webp' ./dist/docs/_astro s3://www.surrealdb.com/docs/_astro/
80+
aws s3 cp --region eu-west-2 --cache-control "public, max-age=86400" ./dist/docs/llms.txt s3://www.surrealdb.com/docs/
8081
aws s3 sync --region eu-west-2 --cache-control "public, max-age=30" --delete --exclude '*' --include '*.html' ./dist/docs/ s3://www.surrealdb.com/docs/
8182

8283
.PHONY: stage
8384
stage:
8485
@echo "Stage..."
8586
aws s3 sync --region eu-west-2 --cache-control "public, max-age=31536000, immutable" --exclude '.DS_Store' --exclude '*' --include '*.webp' --content-type 'image/webp' ./dist/docs/_astro s3://www.surrealdb.dev/docs/_astro/
8687
aws s3 sync --region eu-west-2 --cache-control "public, max-age=31536000, immutable" --exclude '.DS_Store' --exclude '*.webp' ./dist/docs/_astro s3://www.surrealdb.dev/docs/_astro/
88+
aws s3 cp --region eu-west-2 --cache-control "public, max-age=86400" ./dist/docs/llms.txt s3://www.surrealdb.dev/docs/
8789
aws s3 sync --region eu-west-2 --cache-control "public, max-age=30" --delete --exclude '*' --include '*.html' ./dist/docs/ s3://www.surrealdb.dev/docs/

astro.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default defineConfig({
5151
vite: {
5252
plugins: [
5353
llms({
54-
llmsDir: 'llms',
54+
llmsDir: 'dist/docs',
5555
}),
5656
],
5757
},

llms/llms.txt

-62
This file was deleted.

0 commit comments

Comments
 (0)