Skip to content

Commit

Permalink
fix envsubst
Browse files Browse the repository at this point in the history
  • Loading branch information
pitiscarf committed Feb 21, 2025
1 parent 4751847 commit afe4e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devops/admin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if [[ $CC_DEPLOYMENT_ID != "" ]]; then
# CC_CUSTOM_BUILD_TOOL="VITE_RELEASE=$CC_COMMIT_ID devops/admin/build.sh"
# CC_RUN_COMMAND="nginx -c $APP_HOME/nginx.conf"
mv devops/admin/package.json .
envsubst < devops/admin/nginx.conf > nginx.conf
envsubst '$APP_HOME $PORT' < devops/admin/nginx.conf > nginx.conf
rm -rf $(ls -A | grep -v "build\|nginx.conf\|package.json")
fi

Expand Down

0 comments on commit afe4e13

Please sign in to comment.