mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-03-13 09:58:07 -04:00
fix: preview script set release-schedule
- Ref:4d8bc434a1
- Add a symbolic link for the current `release-schedule.json` to the `forgejo-docs/next/release-schedule.json` location, so the forgejo website knows which releases are stable, LTS and when they are EOL. This is required to make the forgejo website run properly. (cherry picked from commitc195cc591c
)
This commit is contained in:
parent
eb8d6e403c
commit
5232e628ff
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ rm -rf ./public/images/$current_branch
|
|||
mkdir -p $(dirname ./src/content/images/$current_branch) # in case of branch names with slashes
|
||||
ln -s $repo_path/images/ ./public/images/$current_branch
|
||||
|
||||
rm -rf ./forgejo-docs/next/release-schedule.json
|
||||
ln -s $repo_path/release-schedule.json ./forgejo-docs/next/release-schedule.json
|
||||
|
||||
# once the dev server is running, open the current docs branch in the browser
|
||||
sleep 3 && $open_cmd http://localhost:4321/docs/$current_branch/ &
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue