Skip to content

Commit d200248

Browse files
committed
trying to fix docc generation
1 parent 1d379b4 commit d200248

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/doc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
run: |
3333
make generate-docs
3434
echo "<script>window.location.href += \"/documentation/bedrockservice\"</script>" > docs/index.html;
35+
- name: Sanity Check
36+
run: |
37+
echo "Checking for required static assets..."
38+
find ./docs -name "*.css" -o -name "*.js" -o -name "favicon*" | head -10
39+
ls -la ./docs/
3540
- name: Upload artifact
3641
uses: actions/upload-pages-artifact@v4
3742
with:

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ generate-docs:
2020
done
2121

2222
touch .nojekyll
23-
which swift
24-
swift --version
2523
swift package \
2624
--allow-writing-to-directory ./docs \
2725
generate-documentation \
@@ -32,5 +30,3 @@ generate-docs:
3230
--output-path ./docs
3331

3432
mv Package.swift.bak Package.swift
35-
touch docs/.nojekyll
36-
ls -al docs

0 commit comments

Comments
 (0)