diff --git a/.github/workflows/app-publish.yaml b/.github/workflows/app-publish.yaml index b401f4da0..870bbc9ca 100644 --- a/.github/workflows/app-publish.yaml +++ b/.github/workflows/app-publish.yaml @@ -65,20 +65,20 @@ jobs: with: switches: -vrptz path: build/jellyfin-publish/ - remote_path: /srv/repository/releases/client/androidtv/versions/v${{ env.JELLYFIN_VERSION }} - remote_host: ${{ secrets.DEPLOY_HOST }} - remote_user: ${{ secrets.DEPLOY_USER }} - remote_key: ${{ secrets.DEPLOY_KEY }} + remote_path: /srv/repository/main/client/androidtv/versions/v${{ env.JELLYFIN_VERSION }} + remote_host: ${{ secrets.REPO_HOST }} + remote_user: ${{ secrets.REPO_USER }} + remote_key: ${{ secrets.REPO_KEY }} - name: Update repo.jellyfin.org symlinks uses: appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # v1.0.3 with: - host: ${{ secrets.DEPLOY_HOST }} - username: ${{ secrets.DEPLOY_USER }} - key: ${{ secrets.DEPLOY_KEY }} + host: ${{ secrets.REPO_HOST }} + username: ${{ secrets.REPO_USER }} + key: ${{ secrets.REPO_KEY }} envs: JELLYFIN_VERSION script_stop: true script: | - cd /srv/repository/releases/client/androidtv; + cd /srv/repository/main/client/androidtv; rm -rf *.apk version.txt; ln -s versions/v${JELLYFIN_VERSION}/jellyfin-androidtv-v${JELLYFIN_VERSION}-*.apk .; ln -s versions/v${JELLYFIN_VERSION}/version.txt .;