We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b393ec commit ceef00eCopy full SHA for ceef00e
.github/workflows/deploy-docs.yml
@@ -13,6 +13,11 @@ on:
13
14
# Allows you to run this workflow manually from the Actions tab
15
workflow_dispatch:
16
+ inputs:
17
+ deploy:
18
+ description: "Deploy to GitHub Pages"
19
+ type: boolean
20
+ default: false
21
22
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
23
permissions:
@@ -55,7 +60,7 @@ jobs:
55
60
name: github-pages
56
61
url: ${{ steps.deployment.outputs.page_url }}
57
62
needs: build
58
- if: success() && startsWith( github.ref, 'refs/tags/v')
63
+ if: success() && (startsWith( github.ref, 'refs/tags/v') || inputs.deploy == true)
59
64
runs-on: ubuntu-latest
65
name: Deploy
66
steps:
0 commit comments