diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index d1f7afe..042cd99 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -10,7 +10,7 @@ jobs: steps: - name: Sanitize branch name id: sanitize - run: echo "::set-output name=sanitized_branch_name::$(echo $BRANCH_NAME | sed 's/\//-/g')" + run: echo "::set-output name=sanitized_branch_name::$(echo ${{ github.ref_name }} | sed 's/\//-/g')" build: runs-on: ubuntu-latest