diff --git a/doc-deploy-dev/action.yml b/doc-deploy-dev/action.yml index 29a9b0e50..215a52430 100644 --- a/doc-deploy-dev/action.yml +++ b/doc-deploy-dev/action.yml @@ -19,6 +19,11 @@ inputs: description: 'Workflow name from where the artifacts are downloaded. By default, the current running workflow.' required: false type: string + checkout: + description: 'If ``True``, the project is checked out in the ``gh-pages`` branch. If ``False``, users are the ones in charge of performing the checkout step.' + required: false + default: true + type: string runs: using: "composite" @@ -31,7 +36,7 @@ runs: - name: "Checkout project in the GitHub Pages branch" uses: actions/checkout@v3 - if: ${{ inputs.checkout == 'true' }} + if: inputs.checkout == 'true' with: ref: 'gh-pages'