edgeone 1.0.18 → 1.0.19
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 +4 -3
- package/edgeone-bin/edgeone.js +0 -1
- package/edgeone-dist/cli.js +1102 -33059
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -146,12 +146,13 @@ This section provides guidance on integrating EdgeOne CLI into your CI/CD pipeli
|
|
|
146
146
|
The deploy command allows you to deploy a folder or ZIP package directly to EdgeOne Pages from your CI/CD pipeline without using Git-based deployment.
|
|
147
147
|
|
|
148
148
|
```plaintext
|
|
149
|
-
edgeone pages deploy <directoryOrZip> -t <token>
|
|
149
|
+
edgeone pages deploy <directoryOrZip> -n <projectName> -t <token>
|
|
150
150
|
```
|
|
151
151
|
|
|
152
152
|
#### Parameters
|
|
153
153
|
|
|
154
154
|
- `<directoryOrZip>`: Path of folder or ZIP package to deploy (required)
|
|
155
|
+
- `-n, --name`: Project name for deployment (creates new or updates existing project) (required)
|
|
155
156
|
- `-t, --token`: API Token for CI/CD pipelines (required)
|
|
156
157
|
- `-e, --env`: Environment to deploy to, choices: 'production' or 'preview' (default: 'production')
|
|
157
158
|
|
|
@@ -159,10 +160,10 @@ edgeone pages deploy <directoryOrZip> -t <token>
|
|
|
159
160
|
|
|
160
161
|
```plaintext
|
|
161
162
|
# Basic CI deployment to production
|
|
162
|
-
edgeone pages deploy ./dist -t $EDGEONE_API_TOKEN
|
|
163
|
+
edgeone pages deploy ./dist -n edgeone-pages-project -t $EDGEONE_API_TOKEN
|
|
163
164
|
|
|
164
165
|
# CI deployment to preview environment
|
|
165
|
-
edgeone pages deploy ./build.zip -e preview -t $EDGEONE_API_TOKEN
|
|
166
|
+
edgeone pages deploy ./build.zip -n edgeone-pages-project -e preview -t $EDGEONE_API_TOKEN
|
|
166
167
|
```
|
|
167
168
|
|
|
168
169
|
#### Obtaining an API Token
|