Skip to content

Commit ce1e836

Browse files
committed
fix: Correct syntax
1 parent 7a2e05f commit ce1e836

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy-dev.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@ jobs:
4242
run: |
4343
mkdir deploy
4444
DEPLOY_ID=$(date +%s)
45-
mv web "deploy/$(DEPLOY_ID)"
45+
echo "DEPLOY_ID=$DEPLOY_ID" >> $GITHUB_ENV
46+
mv web "deploy/$DEPLOY_ID"
4647
cd deploy
4748
echo "{}" > package.json
4849
mkdir node_modules
4950
touch config.yaml
5051
echo "static:" >> config.yaml
51-
echo " files: ${DEPLOY_ID}/**" >> config.yaml
52+
echo " files: $DEPLOY_ID/**" >> config.yaml
5253
echo " index: true" >> config.yaml
5354
echo " extensions: ["html"]" >> config.yaml
5455
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 }}'

0 commit comments

Comments
 (0)