mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
add webshare into settings
This commit is contained in:
@@ -49,6 +49,12 @@ node_modules/.bin/webpack-dev-server --config webpack.dev.js --host 0.0.0.0
|
||||
node_modules/.bin/webpack-dev-server --config webpack.share.dev.js --host 127.0.0.1
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command webshare-build
|
||||
# @scripthaus cd :playbook
|
||||
node_modules/.bin/webpack --config webpack.share.dev.js
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command typecheck
|
||||
# @scripthaus cd :playbook
|
||||
@@ -121,3 +127,11 @@ rm *.dmg
|
||||
$DMG_NAME \
|
||||
"out/Prompt-darwin-arm64/Prompt.app"
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command sync-webshare-dev
|
||||
# @scripthaus cd :playbook
|
||||
aws --profile prompt-s3 s3 cp webshare/static/index.html s3://prompt-devshare-static/ --cache-control 'public, max-age=600, s-maxage=300, stale-if-error=60'
|
||||
aws --profile prompt-s3 s3 sync webshare/static s3://prompt-devshare-static/static --cache-control 'public, max-age=600, s-maxage=300, stale-if-error=60'
|
||||
aws --profile prompt-s3 s3 sync webshare/dist-dev s3://prompt-devshare-static/ --cache-control 'public, max-age=600, s-maxage=300, stale-if-error=60'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user