@@ -56,7 +56,6 @@ Create a directory for your project, place your static files in `./public`, then
5656``` sh
5757npx @fastly/compute-js-static-publish@latest \
5858 --root-dir=./public \
59- --storage-mode=kv-store \
6059 --kv-store-name=site-content
6160```
6261
@@ -236,7 +235,7 @@ const rc = {
236235export default rc ;
237236```
238237
239- ### Using S3-compatible storage
238+ ### Using S3-compatible storage (BETA)
240239
241240#### Fields:
242241
@@ -525,7 +524,7 @@ If you do need to rebuild and redeploy the Compute app, simply run:
525524npm run fastly:deploy
526525```
527526
528- ### Using S3-compatible storage
527+ ### Using S3-compatible storage (BETA)
529528
530529#### Local development
531530
@@ -731,10 +730,9 @@ Run outside an existing Compute app directory:
731730# Using KV store storage
732731npx @fastly/compute-js-static-publish@latest \
733732 --root-dir=./public \
734- --storage-mode=kv-store \
735733 --kv-store-name=<site-content>
736734
737- # Using S3 storage
735+ # Using S3 storage (BETA)
738736npx @fastly/compute-js-static-publish@latest \
739737 --root-dir=./public \
740738 --storage-mode=s3 \
@@ -748,7 +746,7 @@ npx @fastly/compute-js-static-publish@latest \
748746` ` ` sh
749747npx @fastly/compute-js-static-publish@latest \
750748 --root-dir=./public \
751- { --storage-mode=kv-store --kv-store-name=<site-content> | \
749+ { [ --storage-mode=kv-store] --kv-store-name=<site-content> | \
752750 --storage-mode=s3 --s3-region=<s3 region> --s3-bucket=<bucket name> [--s3-endpoint=<endpoint>] } \
753751 [--output=./compute-js] \
754752 [--static-publisher-working-dir=<output>/static-publisher] \
@@ -768,7 +766,7 @@ npx @fastly/compute-js-static-publish@latest \
768766#### Options:
769767
770768** Used to generate the Compute app: **
771- - ` --storage-mode` : Required . Specifies the storage mode . Must be either ` kv-store` or ` s3` .
769+ - ` --storage-mode` : Specifies the storage mode . Must be either ` kv-store` or ` s3` (default : ` kv-store ` ) .
772770
773771 If ` --storage-mode=kv-store` :
774772 - ` --kv-store-name` : Required . Name of KV Store to use.
0 commit comments