File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 4141 - name : Deploy to dev
4242 run : |
4343 mkdir deploy
44- cp config.yaml deploy/
45- mv web deploy/
44+ DEPLOY_ID=$(date +%s)
45+ mv web " deploy/$(DEPLOY_ID)"
4646 cd deploy
4747 echo "{}" > package.json
48- CLI_TARGET_USERNAME=${{ secrets.CLI_TARGET_USERNAME_DEV }} CLI_TARGET_PASSWORD='${{ secrets.HARPERDB_CLI_TARGET_PASSWORD_DEV }}' pnpm harperdb deploy project='hdbms' target='${{ secrets.CLI_DEPLOY_TARGET_DEV }}' restart=true
48+ mkdir node_modules
49+ touch config.yaml
50+ echo "static:" >> config.yaml
51+ echo " files: ${DEPLOY_ID}/**" >> config.yaml
52+ echo " index: true" >> config.yaml
53+ echo " extensions: ["html"]" >> config.yaml
54+ CLI_TARGET_USERNAME=${{ secrets.CLI_TARGET_USERNAME_DEV }} CLI_TARGET_PASSWORD='${{ secrets.HARPERDB_CLI_TARGET_PASSWORD_DEV }}' pnpm harperdb deploy project=hdbms target='${{ secrets.CLI_DEPLOY_TARGET_DEV }}'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments