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.
2 parents b49653c + 9ac4af2 commit 117ac14Copy full SHA for 117ac14
.github/workflows/jekyll-gh-pages.yml
@@ -8,6 +8,12 @@ on:
8
9
# Allows you to run this workflow manually from the Actions tab
10
workflow_dispatch:
11
+ inputs:
12
+ branch:
13
+ description: 'The branch to checkout'
14
+ required: true
15
+ default: 'main'
16
+ type: string
17
18
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
19
permissions:
@@ -33,9 +39,11 @@ jobs:
33
39
- 5000:5000
34
40
steps:
35
41
- name: Checkout
36
- uses: actions/checkout@v3
42
+ uses: actions/checkout@v4
43
+ with:
44
+ ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref_name }}
37
45
- name: Setup Pages
38
- uses: actions/configure-pages@v3
46
+ uses: actions/configure-pages@v5
47
48
- name: Set up Docker Buildx
49
uses: docker/setup-buildx-action@v3
0 commit comments