Skip to content

Commit 6496171

Browse files
committed
Fix YAML indentation in docs workflow
1 parent bd2d35b commit 6496171

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/docs.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,29 @@ jobs:
3131
~/.cargo/git
3232
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3333

34-
- name: Build Documentation
35-
run: cargo doc --no-deps --workspace --document-private-items
34+
- name: Build Documentation
35+
run: cargo doc --no-deps --workspace --document-private-items
3636

37-
- name: Create index.html
38-
run: |
39-
cat > target/doc/index.html << 'EOF'
40-
<html>
41-
<head>
42-
<title>Code-Guardian Documentation</title>
43-
</head>
44-
<body>
45-
<h1>Code-Guardian Workspace Documentation</h1>
46-
<ul>
47-
<li><a href="code_guardian_cli/index.html">CLI Crate</a></li>
48-
<li><a href="code_guardian_core/index.html">Core Crate</a></li>
49-
<li><a href="code_guardian_output/index.html">Output Crate</a></li>
50-
<li><a href="code_guardian_storage/index.html">Storage Crate</a></li>
51-
</ul>
52-
</body>
53-
</html>
54-
EOF
37+
- name: Create index.html
38+
run: |
39+
cat > target/doc/index.html << 'EOF'
40+
<html>
41+
<head>
42+
<title>Code-Guardian Documentation</title>
43+
</head>
44+
<body>
45+
<h1>Code-Guardian Workspace Documentation</h1>
46+
<ul>
47+
<li><a href="code_guardian_cli/index.html">CLI Crate</a></li>
48+
<li><a href="code_guardian_core/index.html">Core Crate</a></li>
49+
<li><a href="code_guardian_output/index.html">Output Crate</a></li>
50+
<li><a href="code_guardian_storage/index.html">Storage Crate</a></li>
51+
</ul>
52+
</body>
53+
</html>
54+
EOF
5555
56-
- name: Setup Pages
56+
- name: Setup Pages
5757
uses: actions/configure-pages@v4
5858

5959
- name: Upload artifact
@@ -70,4 +70,4 @@ jobs:
7070
steps:
7171
- name: Deploy to GitHub Pages
7272
id: deployment
73-
uses: actions/deploy-pages@v4
73+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)