-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy paths3-publish.env.example
More file actions
65 lines (48 loc) · 1.99 KB
/
s3-publish.env.example
File metadata and controls
65 lines (48 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copy to `agent0-sdk-docs/s3-publish.env` and fill in values (do NOT commit `s3-publish.env`).
#
# Publishes `agent0-sdk-docs/dist/` to the S3 bucket `sdk.ag0.xyz`.
# Run: `npm run publish:s3`
S3_BUCKET=sdk.ag0.xyz
# If set to "1", passes `--delete` to `aws s3 sync` (removes S3 objects not present locally).
S3_SYNC_DELETE=1
# If set to "1", passes `--dryrun` (shows what would change without uploading).
S3_SYNC_DRYRUN=
# Option A: Use a named AWS CLI profile from ~/.aws/credentials
AWS_PROFILE=
# Option B: Paste AWS credentials directly
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_SESSION_TOKEN=
# Option C: Web identity (JWT) credentials
# Provide a JWT and a role ARN; the script will write the token to a local file and set AWS_WEB_IDENTITY_TOKEN_FILE.
AWS_ROLE_ARN=
AWS_WEB_IDENTITY_JWT=
# Optional region (S3 doesn't require it, but some setups do)
AWS_REGION=
AWS_DEFAULT_REGION=
# Copy to `agent0-sdk-docs/s3-publish.env` and fill in values (do NOT commit `s3-publish.env`).
#
# Publishes `agent0-sdk-docs/dist/` to the S3 bucket `sdk.ag0.xyz`.
# Run: `npm run publish:s3`
S3_BUCKET=sdk.ag0.xyz
# If set to "1", uploads objects with `--acl public-read`.
# If your bucket has "Object Ownership: Bucket owner enforced", ACLs are disabled.
# In that case set this to "0" and use a bucket policy for public reads.
S3_PUBLIC_READ=1
# If set to "1", passes `--delete` to `aws s3 sync` (removes S3 objects not present locally).
S3_SYNC_DELETE=1
# If set to "1", passes `--dryrun` (shows what would change without uploading).
S3_SYNC_DRYRUN=
# Option A: Use a named AWS CLI profile from ~/.aws/credentials
AWS_PROFILE=
# Option B: Paste AWS credentials directly
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_SESSION_TOKEN=
# Option C: Web identity (JWT) credentials
# Provide a JWT and a role ARN; the script will write the token to a local file and set AWS_WEB_IDENTITY_TOKEN_FILE.
AWS_ROLE_ARN=
AWS_WEB_IDENTITY_JWT=
# Optional region (S3 doesn't require it, but some setups do)
AWS_REGION=
AWS_DEFAULT_REGION=