diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4c4ac00..16e36ad 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,7 +6,7 @@ on: pull_request: concurrency: - group: ci-${{ gitea.ref }} + group: ci-${{ github.ref }} cancel-in-progress: true env: @@ -16,7 +16,7 @@ env: jobs: check: # The runner is a shared host, so never run code from forks on it. - if: ${{ gitea.event_name != 'pull_request' || gitea.event.pull_request.head.repo.full_name == gitea.repository }} + if: ${{ github.event_name != 'pull_request' || gitea.event.pull_request.head.repo.full_name == gitea.repository }} runs-on: self-hosted steps: - uses: actions/checkout@v4 diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7faa658..a6df187 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -14,7 +14,7 @@ jobs: build: runs-on: self-hosted env: - TAG: ${{ gitea.ref_name }} + TAG: ${{ github.ref_name }} steps: - uses: actions/checkout@v4 with: @@ -121,9 +121,9 @@ jobs: runs-on: self-hosted env: MIN_VERSION: ${{ vars.VNOX_MIN_VERSION }} - TAG: ${{ gitea.ref_name }} - SERVER_URL: ${{ gitea.server_url }} - REPO: ${{ gitea.repository }} + TAG: ${{ github.ref_name }} + SERVER_URL: ${{ github.server_url }} + REPO: ${{ github.repository }} steps: - uses: actions/checkout@v4