From 94e280b25535c03e60bd42a91e3df6ab43b7a057 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Wed, 1 Nov 2023 21:37:00 +0400 Subject: [PATCH] Update action.yml --- actions/latex/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/latex/action.yml b/actions/latex/action.yml index 563a16f..b5ed285 100644 --- a/actions/latex/action.yml +++ b/actions/latex/action.yml @@ -33,7 +33,7 @@ on: default: '' draft: - description: 'draft' + description: 'branch for draft' type: string required: false default: 'draft' @@ -77,7 +77,7 @@ runs: - name: GitHub Pages action uses: JamesIves/github-pages-deploy-action@v4.2.2 with: - branch: ${{ inputs.draft }} # The branch the action should deploy to. + branch: ${{ inputs.draft }} | 'draft' # The branch the action should deploy to. folder: publish${{ inputs.output-folder }} # The folder the action should deploy. # To make your draft folder public you would have to go to Settings => Pages