Skip to content

Commit 2202fb0

Browse files
committed
fix(ci): ensure target/doc directory exists before creating redirect
The deploy-docs job was failing because it tried to write to target/doc/index.html without ensuring the directory exists first. Added 'mkdir -p target/doc' before creating the redirect file. Fixes CI error: 'target/doc/index.html: No such file or directory'
1 parent dee7ff8 commit 2202fb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish-ovsm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ jobs:
196196

197197
- name: Create index.html
198198
run: |
199+
mkdir -p target/doc
199200
echo '<meta http-equiv="refresh" content="0; url=ovsm/index.html">' > target/doc/index.html
200201
working-directory: crates/ovsm
201202

0 commit comments

Comments
 (0)