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

Limit what calls Doxygen and file action reference to docs tile on README #88

Merged
merged 2 commits into from
Aug 15, 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
9 changes: 5 additions & 4 deletions .github/workflows/doxygen_generate.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Generate API Docs

on:
# Runs workflow 'automatically' when a pull request
# for the development branch is closed.
# Runs workflow 'automatically' when a pushed
# to the development branch.
push:
branches: ["development"]
# Don't apply gitignore rules, this allows us to push the generated docs.
Expand All @@ -27,8 +27,9 @@ concurrency:
jobs:
run-doxygen:

# Only run this step if the action was triggered manually on the development branch.
if: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/development' }}
# Only run this step if the action was triggered automatically and the pull request merged on the development branch.
# Or, it was triggered manually on the development branch.
if: ${{ github.event_name == 'push' || ( github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/development' ) }}

environment:
name: github-pages
Expand Down