@@ -47,6 +47,12 @@ Description:
4747 will see the updated index of files and updated server settings from the
4848 publish-content.config.js file.
4949
50+ Required
51+ --fastly-api-token=<token> Fastly API token for KV Store or cache access.
52+ If not set, the tool will check:
53+ 1. FASTLY_API_TOKEN environment variable
54+ 2. Logged-in Fastly CLI profile
55+
5056Optional:
5157 --collection-name=<name> Name of the collection to publish into.
5258 Default: value from static-publisher.rc.js (defaultCollectionName)
@@ -76,11 +82,6 @@ KV Store Options:
7682 local files that will be used to simulate the KV Store
7783 with the local development environment.
7884
79- --fastly-api-token=<token> Fastly API token for KV Store access.
80- If not set, the tool will check:
81- 1. FASTLY_API_TOKEN environment variable
82- 2. Logged-in Fastly CLI profile
83-
8485 --kv-overwrite Alias for --overwrite-existing.
8586
8687S3 Storage Options (BETA):
@@ -595,6 +596,8 @@ export async function action(actionArgs: string[]) {
595596
596597 console . log ( `✅ Settings have been saved.` ) ;
597598
599+ await storageProvider . purgeSurrogateKey ( `${ publishId } -${ collectionName } ` ) ;
600+
598601 console . log ( `🎉 Completed.` ) ;
599602
600603}
0 commit comments