Skip to content

Commit

Permalink
Fix workflow dispatch inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Trigus42 committed Oct 5, 2024
1 parent c60ac11 commit f04863f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Print inputs
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
echo "Inputs: ${{ toJson(inputs) }}"
- uses: actions/checkout@v4

- name: Configure Git Credentials
Expand Down Expand Up @@ -79,5 +84,5 @@ jobs:
fi
- name: Deploy to GitHub Pages
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == true }}
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'true' }}
run: mkdocs gh-deploy --force

0 comments on commit f04863f

Please sign in to comment.