mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-04-25 13:10:28 +03: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.
This commit is contained in:
parent
050b88d8cb
commit
c195cc591c
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
Add a link
Reference in a new issue