Skip to content

Commit ad91619

Browse files
committed
reorder workflow
1 parent 33e95cc commit ad91619

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ jobs:
2222
- name: Install dependencies
2323
run: pip install mkdocs-material pymdown-extensions
2424

25-
- name: Rewrite internal Markdown links for MkDocs build
26-
run: |
27-
echo "Rewriting internal Markdown links (.md → .html)..."
28-
cd guidance_docs
29-
grep -rl '\.md)' . | xargs sed -i 's/\.md)/.html)/g' || true
30-
echo "Rewrite complete."
31-
3225
- name: Copy logo into site
3326
run: |
3427
mkdir -p guidance_docs/images
@@ -37,6 +30,12 @@ jobs:
3730
- name: Copy README to site index
3831
run: cp README.md guidance_docs/index.md
3932

33+
- name: Rewrite internal Markdown links for MkDocs build
34+
run: |
35+
echo "Rewriting internal Markdown links (.md → .html)..."
36+
cd guidance_docs
37+
grep -rl '\.md)' . | xargs sed -i 's/\.md)/.html)/g' || true
38+
echo "Rewrite complete."
4039
4140
- name: Deploy MkDocs site
4241
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)