From e8bde6235cc0ff2a6f1f6dae6590232c4ffd584f Mon Sep 17 00:00:00 2001 From: David Ullmer Date: Mon, 6 Sep 2021 16:53:52 +0200 Subject: [PATCH] Remove release from workflow --- .github/workflows/main.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 61d1ccc9e..99f32e8be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,10 +9,6 @@ on: branches: - jellyfin - release: - types: - - released - workflow_dispatch: jobs: @@ -50,34 +46,3 @@ jobs: with: name: ${{ matrix.release }} ${{ matrix.arch }} package path: dist - - publish: - if: ${{ github.event_name == 'release' && github.event.action == 'released' }} - needs: build - name: Push artifacts to repo - runs-on: ubuntu-latest - - steps: - - name: Download artifacts - uses: actions/download-artifact@v2 - with: - path: artifacts - - - name: Upload to repo.jellyfin.org - uses: burnett01/rsync-deployments@4.1 - with: - switches: -vrptz - path: artifacts - remote_path: /srv/repository/incoming/ffmpeg/${{ github.event.release.tag_name }} - remote_host: ${{ secrets.DEPLOY_HOST }} - remote_user: ${{ secrets.DEPLOY_USER }} - remote_key: ${{ secrets.DEPLOY_KEY }} - - - name: Collect new version - uses: appleboy/ssh-action@v0.1.4 - with: - host: ${{ secrets.DEPLOY_HOST }} - username: ${{ secrets.DEPLOY_USER }} - key: ${{ secrets.DEPLOY_KEY }} - port: 22 - script: /srv/repository/collect-ffmpeg.sh \ No newline at end of file