0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-22 22:17:10 -05:00

GITHUB_REF_NAME is different from the PR number depending

This commit is contained in:
Earl Warren 2023-12-26 00:24:53 +01:00
parent 0538ec1a01
commit 3d8dae047b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -42,9 +42,9 @@ jobs:
uses: https://code.forgejo.org/forgejo/action-website-preview@main
with:
directory: /tmp/dist
name: 'docs_pull_${{ env.GITHUB_REF_NAME }}'
name: 'docs_pull_${{ github.event.pull_request.number }}'
pages-token: ${{ secrets.WEBSITETOKEN }}
repository: forgejo/docs
repository-host: codeberg.org
repository-token: ${{ secrets.WEBSITETOKEN }}
pr-number: ${{ env.GITHUB_REF_NAME }}
pr-number: ${{ github.event.pull_request.number }}