Skip to content

Commit dfb73ea

Browse files
committed
fix rsync
1 parent b0ee277 commit dfb73ea

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

scripts/ci/emscripten/examples_to_build.sh

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
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"
7-
"examples/3d/ofxAssimpBoneControlExample"
8-
"examples/3d/ofxAssimpAdvancedExample"
6+
# "examples/3d/3DPrimitivesExample"
7+
# "examples/3d/ofxAssimpBoneControlExample"
8+
# "examples/3d/ofxAssimpAdvancedExample"
99
# Add more paths as needed
1010
)
1111

@@ -56,12 +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-
61-
SERVER_PUBLIC_KEY=$(ssh-keyscan -p 22 openFrameworks.cc)
62-
echo "$SERVER_PUBLIC_KEY" >> "$HOME/.ssh/known_hosts"
63-
59+
echo "upload 2/2 - time for rsync"
6460
remote_path="/home/ofadmin/openFrameworks.cc/examples/"
65-
rsync --chmod=Du=rwx,Dg=rwx,Do=rx,Fu=rw,Fg=rw,Fo=r -avz -e "ssh -i $key_file" "$out_folder/" "$GA_EXAMPLES_USER@$GA_EXAMPLES_SERVER:$remote_path"
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"
6662
rm -f "$key_file"
6763
fi

0 commit comments

Comments
 (0)