copy java tarball to server
@@ -105,6 +105,31 @@ jobs:
draft: false
prerelease: false
+ ## Get zip
+ - name: wget
+ id: wget
+ run: wget https://github.com/opencb/cellbase/archive/${{ github.ref }}.tar.gz
+
+ ## set tag name
+ - name: Get tag
+ id: get_tag
+ run: echo ::set-output name=TAG_NAME::${GITHUB_REF/refs\/tags\//}
+
+ ## copy tarball to server
+ - name: Deploy to server
+ id: deploy
+ uses: Pendect/action-rsyncer@v1.1.0
+ env:
+ DEPLOY_KEY: ${{secrets.SCP_PRIVATE_KEY}}
+ with:
+ flags: '-avzr '
+ options: ''
+ ssh_options: ''
+ src: '${{ steps.get_tag.outputs.TAG_NAME }}.tar.gz'
+ dest: '${{ secrets.SCP_SITE_USER }}@128.232.224.128:/mnt/data/opencb/cellbase/java/'
+ - name: Display status from deploy
+ run: echo "${{ steps.deploy.outputs.status }}"
+
site:
name: Generate Maven site
runs-on: ubuntu-18.04
