File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,4 @@ supervisorctl reread
2323supervisorctl update
2424
2525# Run the build script to perform a one-time build for static preview
26- cd $WORKSPACE_DIR
27- .git/hooks/post-commit
28- cd - > /dev/null
29-
26+ /usr/local/bin/static-preview-build.sh
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ sudo mv ./spark-sdk-dist/spark-agent.js /usr/local/bin/spark-agent
4545sudo cp ./spark-sdk-dist/proxy.js /workspaces/proxy.js
4646sudo mv ./spark-sdk-dist/proxy.js /usr/local/bin/proxy.js
4747sudo mv ./spark-sdk-dist/spark.package.json /workspaces/spark.package.json
48- # sudo mv ./spark-sdk-dist/post-commit ${WORKSPACE_DIR}/.git/hooks/post-commit
48+ sudo mv ./spark-sdk-dist/post-commit /usr/local/bin/static-preview-build.sh
4949
5050# Upgrade the Spark Tools package
5151if [ -f " $TOOLS_MARKER_FILE " ] && [ " $( cat " $TOOLS_MARKER_FILE " ) " == " $( cat ./spark-sdk-dist/spark-tools-version) " ]; then
You can’t perform that action at this time.
0 commit comments