Use self hosted

This commit is contained in:
Ben Sarmiento
2023-12-03 15:02:55 +01:00
parent 4d8d5ea71a
commit e1008affed
2 changed files with 5 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ on:
jobs:
build:
name: Build
runs-on: [self-hosted, ubuntu-latest]
runs-on: self-hosted
permissions:
contents: read
packages: write
@@ -80,7 +80,7 @@ jobs:
release:
name: Release
needs: build
runs-on: ubuntu-latest
runs-on: self-hosted
permissions:
contents: write
@@ -102,6 +102,7 @@ jobs:
git lfs install
- name: Publish to zurg-early-releases
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: |
git clone https://x-access-token:${{ secrets.TOKEN }}@github.com/debridmediamanager/zurg-early-releases.git
mkdir -p zurg-early-releases/releases/${{ steps.version.outputs.version }}
@@ -114,7 +115,7 @@ jobs:
- name: Publish to zurg-testing
if: startsWith(github.ref, 'refs/tags/v')
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
git clone https://x-access-token:${{ secrets.TOKEN }}@github.com/debridmediamanager/zurg-testing.git
mkdir -p zurg-testing/releases/${{ steps.version.outputs.version }}