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

ci: Allow manual trigger for docs deployment #11881

Merged
merged 1 commit into from
Oct 20, 2023
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
6 changes: 4 additions & 2 deletions .github/workflows/docs-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
push:
tags:
- py-**
# Allow manual trigger until we have properly versioned docs
workflow_dispatch:

jobs:
markdown-link-check:
Expand Down Expand Up @@ -72,12 +74,12 @@ jobs:
run: mkdocs build

- name: Add .nojekyll
if: ${{ github.ref_type == 'tag' }}
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
working-directory: site
run: touch .nojekyll

- name: Deploy docs
if: ${{ github.ref_type == 'tag' }}
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: site
Expand Down
Loading