Skip to content
New issue

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

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

Already on GitHub? # to your account

(workflow): when pushing to beta or stable, we shouldnt check out the… #109

Merged
merged 1 commit into from
Nov 19, 2024
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
12 changes: 8 additions & 4 deletions .github/workflows/deploy-mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,21 @@ jobs:
- name: Build Beta Documentation
run: |
git fetch --depth 1 origin beta:beta
git checkout beta
if [[ $GITHUB_REF != "refs/heads/beta" ]]; then
git fetch --depth 1 origin beta:beta
git checkout beta
fi
cd docs/
mkdocs build
mkdir -p ../gh-pages/beta
cp -R site/* ../gh-pages/beta/
- name: Build Candidate Stable Documentation
run: |
git fetch --depth 1 origin candidate/stable:candidate/stable
git checkout candidate/stable
if [[ $GITHUB_REF != "refs/heads/candidate/stable" ]]; then
git fetch --depth 1 origin candidate/stable:candidate/stable
git checkout candidate/stable
fi
cd docs/
mkdocs build
mkdir -p ../gh-pages/candidate-stable
Expand Down
Loading