mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-24 18:09:26 -05:00
fix: ci: update website config filename
This commit is contained in:
parent
2b3136b775
commit
a575e3ef68
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ jobs:
|
|||
cd /tmp/website
|
||||
colon=':'
|
||||
branch=docs_pull_${{ env.GITHUB_REF_NAME }}
|
||||
sed -i.orig -e "s|origin$colon '.*|origin$colon 'https$colon//forgejo.codeberg.page',|" -e "s|basePathname$colon '/'|basePathname$colon '/@$branch//'|" src/config.mjs
|
||||
cat src/config.mjs
|
||||
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
|
||||
pnpm run build
|
||||
mv dist /tmp
|
||||
|
|
Loading…
Reference in a new issue