Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fetch-depth #88

Merged
merged 1 commit into from
Feb 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/main_rcpch-nhs-organisations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true # ensures large files are downloaded using Git LFS

- name: Set up Python version
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:

- name: Build MkDocs site
env:
SITE_DIR: site
SITE_DIR: documentation/site
DOCS_URL: https://rcpch.github.io/rcpch-nhs-organisations/
run: mkdocs build --config-file documentation/mkdocs.yml

Expand Down Expand Up @@ -83,10 +84,13 @@ jobs:

- name: Build MkDocs site
env:
SITE_DIR: site
SITE_DIR: documentation/site
DOCS_URL: https://rcpch.github.io/rcpch-nhs-organisations/
run: mkdocs build --config-file documentation/mkdocs.yml

- name: Verify MkDocs build output
run: ls -la documentation/site || echo "MkDocs build failed or output directory is missing!"

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down