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

chore(ci): truncate gh-pages branch history #12360

Merged
merged 2 commits into from
Jan 15, 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: 7 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- "**"
paths:
- ".github/workflows/documentation.yml"
- "metadata-ingestion/**"
- "metadata-models/**"
- "docs/**"
Expand All @@ -13,6 +14,7 @@ on:
branches:
- master
paths:
- ".github/workflows/documentation.yml"
- "metadata-ingestion/**"
- "metadata-models/**"
- "docs/**"
Expand Down Expand Up @@ -57,8 +59,12 @@ jobs:

- name: Deploy
if: github.event_name == 'push' && github.repository == 'datahub-project/datahub'
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs-website/build
cname: datahubproject.io
# The gh-pages branch stores the built docs site. We don't need to preserve
# the full history of the .html files, since they're generated from our
# source files. Doing so significantly reduces the size of the repo's .git dir.
force_orphan: true
Loading