Skip to content

Commit a44211f

Browse files
committed
simplify upload
1 parent dfb73ea commit a44211f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/ci/emscripten/examples_to_build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# List of folder paths to iterate through make sure there is no trailing slash
44
folders=(
55
"examples/3d/pointCloudExample"
6-
# "examples/3d/3DPrimitivesExample"
6+
"examples/3d/3DPrimitivesExample"
77
# "examples/3d/ofxAssimpBoneControlExample"
88
# "examples/3d/ofxAssimpAdvancedExample"
99
# Add more paths as needed
@@ -56,8 +56,8 @@ if [[ "$GH_ACTIONS" = "true" ]]; then
5656
fi
5757

5858
if [ "$DO_UPLOAD" = "true" ]; then
59-
echo "upload 2/2 - time for rsync"
60-
remote_path="/home/ofadmin/openFrameworks.cc/examples/"
61-
rsync --chmod=Du=rwx,Dg=rwx,Do=rx,Fu=rw,Fg=rw,Fo=r -avz -e "ssh -o 'StrictHostKeyChecking no' -i $key_file" "$out_folder/" "$GA_EXAMPLES_USER@$GA_EXAMPLES_SERVER:$remote_path"
59+
echo "upload 2/2 - time for rsync"
60+
remote_path="/home/$GA_EXAMPLES_USER/examples/"
61+
rsync -avz -e "ssh -o 'StrictHostKeyChecking no' -i $key_file" "$out_folder/" "$GA_EXAMPLES_USER@$GA_EXAMPLES_SERVER:$remote_path"
6262
rm -f "$key_file"
6363
fi

0 commit comments

Comments
 (0)