File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,4 @@ supervisorctl reread
23
23
supervisorctl update
24
24
25
25
# 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
45
45
sudo cp ./spark-sdk-dist/proxy.js /workspaces/proxy.js
46
46
sudo mv ./spark-sdk-dist/proxy.js /usr/local/bin/proxy.js
47
47
sudo 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
49
49
50
50
# Upgrade the Spark Tools package
51
51
if [ -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