diff --git a/.github/workflows/make_deploy.yml b/.github/workflows/make_deploy.yml index 23c9f4fa670e472f87e09546b2b8e2b3931f1598..964d32826688bf63bd15fd3d52f42f7a6bfe8902 100644 --- a/.github/workflows/make_deploy.yml +++ b/.github/workflows/make_deploy.yml @@ -85,9 +85,20 @@ jobs: rm linuxdeploy-plugin-qt-x86_64.AppImage mv *.AppImage ../../${{env.EXECUTABLE}}-${{ env.NOOTKA_VERSION }}-b${{ env.NOOTKA_COM_CNT }}-Linux-x86_64.AppImage + ls ../../ - name: '📤 Upload artifact: AppImage' uses: actions/upload-artifact@v4 with: - name: ${{env.EXECUTABLE}}-${{env.VERSION}}-Linux-x86_64.AppImage - path: ${{env.EXECUTABLE}}-${{env.VERSION}}-Linux-x86_64.AppImage + name: ${{env.EXECUTABLE}}-${{ env.NOOTKA_VERSION }}-b${{ env.NOOTKA_COM_CNT }}-Linux-x86_64.AppImage + path: ${{env.EXECUTABLE}}-${{ env.NOOTKA_VERSION }}-b${{ env.NOOTKA_COM_CNT }}-Linux-x86_64.AppImage + + - name: '📤 Upload AppImage to SF' + uses: burnett01/rsync-deployments@5.0 + with: + switches: -avzr --delete + path: ${{env.EXECUTABLE}}-${{ env.NOOTKA_VERSION }}-b${{ env.NOOTKA_COM_CNT }}-Linux-x86_64.AppImage + remote_path: ${{ secrets.REMOTE_PATH }} + remote_host: ${{ secrets.SSH_HOST }} + remote_user: ${{ secrets.SSH_USER }} + remote_key: ${{ secrets.SSH_PRIVATE_KEY }}