0
0
Fork 0
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:
Caesar Schinas 2023-08-22 22:44:26 +01:00 committed by Loïc Dachary
parent 2b3136b775
commit a575e3ef68

View file

@ -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