mirror of
https://github.com/immich-app/isar.git
synced 2026-09-30 13:23:02 +08:00
Ensure git tags are available before replacing versions
This commit is contained in:
@@ -26,6 +26,8 @@ jobs:
|
||||
- name: Build v3 docs
|
||||
run: |
|
||||
cd v3
|
||||
git fetch --unshallow
|
||||
git fetch --tags
|
||||
tool/replace-versions.sh
|
||||
cd docs
|
||||
sed -i'.bak' "s|base:.*|base: '/v3/',|" docs/.vuepress/config.ts
|
||||
@@ -43,6 +45,7 @@ jobs:
|
||||
- name: Build main docs
|
||||
run: |
|
||||
cd main
|
||||
git fetch --tags
|
||||
tool/replace-versions.sh
|
||||
cd docs
|
||||
sed -i'.bak' "s|base:.*|base: '/',|" docs/.vuepress/config.ts
|
||||
|
||||
Reference in New Issue
Block a user