Fix workflow dispatch inputs

This commit is contained in:
Trigus42 2024-10-06 01:12:22 +02:00
parent c60ac11a49
commit f04863f1ef

View File

@ -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
@ -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