try sshpass again
@@ -33,13 +33,13 @@ jobs:
- name: Generate Javadocs
run: mvn javadoc:aggregate
- - name: Create a ssh key
- run: |
- mkdir ~/.ssh
- echo "${{ secrets.SCP_PRIVATE_KEY }}" > ~/.ssh/id_rsa
- echo "${{ secrets.SCP_PUBLIC_KEY }}" > ~/.ssh/id_rsa.pub
+# - name: Create a ssh key
+# run: |
+# mkdir ~/.ssh
+# echo "${{ secrets.SCP_PRIVATE_KEY }}" > ~/.ssh/id_rsa
+# echo "${{ secrets.SCP_PUBLIC_KEY }}" > ~/.ssh/id_rsa.pub
- name: Copy javadocs to OpenCB server
- env:
- RSYNC_PASSWORD: ${{ secrets.SCP_SITE_PASSWORD }}
-# run: sshpass -p "${{ secrets.SCP_SITE_PASSWORD }}" rsync -av --delete target/site/apidocs/* ${{ secrets.SCP_SITE_USER }}@128.232.224.128:/mnt/data/opencb/cellbase/javadocs/${{ steps.get_version.outputs.VERSION }}
- run: rsync -av --delete target/site/apidocs/* ${{ secrets.SCP_SITE_USER }}@128.232.224.128::/mnt/data/opencb/cellbase/javadocs/${{ steps.get_version.outputs.VERSION }}
+# env:
+# RSYNC_PASSWORD: ${{ secrets.SCP_SITE_PASSWORD }}
+ run: sshpass -p "${{ secrets.SCP_SITE_PASSWORD }}" rsync -av --delete target/site/apidocs/org/opencb/cellbase/app/cli/admin/executors/class-use/* ${{ secrets.SCP_SITE_USER }}@128.232.224.128:/mnt/data/opencb/cellbase/javadocs/${{ steps.get_version.outputs.VERSION }}
+# run: rsync -av --delete target/site/apidocs/* ${{ secrets.SCP_SITE_USER }}@128.232.224.128:/mnt/data/opencb/cellbase/javadocs/${{ steps.get_version.outputs.VERSION }}
