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:
parent
91c2dcd702
commit
3d6043316f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue