0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

[CI] the branch is named after the PR number

This commit is contained in:
Earl Warren 2023-12-27 18:34:38 +01:00
parent 91c2dcd702
commit 3d6043316f
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -33,7 +33,7 @@ jobs:
run: |
cd /tmp/website
colon=':'
branch=docs_pull_${{ env.GITHUB_REF_NAME }}
branch=docs_pull_${{ github.event.pull_request.number }}
sed -i.orig -e "s|origin$colon '.*|origin$colon 'https$colon//forgejo.codeberg.page',|" -e "s|basePathname$colon '/'|basePathname$colon '/@$branch//'|" src/config.ts
cat src/config.ts
corepack enable