We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fcf2c6 commit f3e82c5Copy full SHA for f3e82c5
1 file changed
.github/workflows/mdbook.yml
@@ -3,6 +3,11 @@ name: Deploy mdBook site to Pages
3
on:
4
# Allows you to run this workflow manually from the Actions tab
5
workflow_dispatch:
6
+ inputs:
7
+ commit:
8
+ type: string
9
+ description: Commit of `Cuprate/cuprate` to use
10
+ required: true
11
12
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
permissions:
@@ -27,6 +32,7 @@ jobs:
27
32
- uses: actions/checkout@v4
28
33
with:
29
34
repository: Cuprate/cuprate
35
+ ref: ${{ inputs.commit }}
30
36
- name: Install mdBook
31
37
run: |
38
cargo install --version ${MDBOOK_VERSION} mdbook
0 commit comments