freestyle 0.1.48 → 0.1.50
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 +9 -0
- package/cli.mjs +830 -12
- package/index.cjs +2054 -1497
- package/index.d.cts +1961 -1234
- package/index.d.mts +1961 -1234
- package/index.mjs +2052 -1498
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -74,6 +74,15 @@ freestyle deploy --file ./my-function.js
|
|
|
74
74
|
# Deploy from a Git repository
|
|
75
75
|
freestyle deploy --repo <repoId>
|
|
76
76
|
|
|
77
|
+
# Deploy a prebuilt directory
|
|
78
|
+
freestyle deploy --dir ./dist
|
|
79
|
+
|
|
80
|
+
# Deploy a directory and run server-side build auto-detection
|
|
81
|
+
freestyle deploy --dir . --build
|
|
82
|
+
|
|
83
|
+
# Deploy a directory with explicit build settings
|
|
84
|
+
freestyle deploy --dir . --build --build-command "npm run build" --build-out-dir dist
|
|
85
|
+
|
|
77
86
|
# Add environment variables
|
|
78
87
|
freestyle deploy --code "..." --env API_KEY=secret --env DEBUG=true
|
|
79
88
|
```
|