mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
GITHUB_REF_NAME is different from the PR number depending
This commit is contained in:
parent
0538ec1a01
commit
3d8dae047b
1 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue