edgeone 1.0.16-beta.2 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -152,7 +152,7 @@ edgeone pages deploy <directoryOrZip> -t <token>
152
152
  #### Parameters
153
153
 
154
154
  - `<directoryOrZip>`: Path of folder or ZIP package to deploy (required)
155
- - `-t, --token`: API Token for CI/CD pipelines (required for non-interactive environments)
155
+ - `-t, --token`: API Token for CI/CD pipelines (required)
156
156
  - `-e, --env`: Environment to deploy to, choices: 'production' or 'preview' (default: 'production')
157
157
 
158
158
  #### CI Pipeline Examples
@@ -167,14 +167,15 @@ edgeone pages deploy ./build.zip -e preview -t $EDGEONE_API_TOKEN
167
167
 
168
168
  #### Obtaining an API Token
169
169
 
170
- For more information, please refer to https://edgeone.ai/document/177158578324279296
170
+ How to create an API Token
171
171
 
172
- To use the deploy command in CI/CD pipelines, you need to generate an API token:
172
+ 1. Access the Pages console and switch to the "API Token" Tab.
173
+ 2. Click "Create API Token".
174
+ 3. Enter "Token description" to help you remember the purpose of the API Token.
175
+ 4. Select "expiration time" to ensure your information security.
176
+ 5. Click Submit.
173
177
 
174
- 1. Log in to the EdgeOne Console
175
- 2. Navigate to the Pages project settings
176
- 3. Generate an API token with deployment permissions
177
- 4. Add this token as a secure environment variable in your CI/CD system
178
+ For more information, please refer to https://edgeone.ai/document/177158578324279296
178
179
 
179
180
  <br/>
180
181
 
@@ -180275,7 +180275,7 @@ var yargs_default = Yargs;
180275
180275
  // package.json
180276
180276
  var package_default = {
180277
180277
  name: "edgeone",
180278
- version: "1.0.16-beta.2",
180278
+ version: "1.0.17",
180279
180279
  description: "Command-line interface for TencentCloud Pages Functions",
180280
180280
  bin: {
180281
180281
  edgeone: "./edgeone-bin/edgeone.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edgeone",
3
- "version": "1.0.16-beta.2",
3
+ "version": "1.0.17",
4
4
  "description": "Command-line interface for TencentCloud Pages Functions",
5
5
  "bin": {
6
6
  "edgeone": "./edgeone-bin/edgeone.js"