mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
add option to install stork on runner
This commit is contained in:
parent
6899fd8bec
commit
8f825ac9e9
1 changed files with 8 additions and 0 deletions
8
.github/workflows/github_pages.yml
vendored
8
.github/workflows/github_pages.yml
vendored
|
|
@ -42,6 +42,11 @@ on:
|
|||
default: true
|
||||
description: "Whether to deploy the site. If true then build the site and deploy it. If false then just test that the site builds successfully but don't deploy anything."
|
||||
type: boolean
|
||||
stork:
|
||||
required: false
|
||||
default: false
|
||||
description: "Whether to add stork. If true it will be installed on runner"
|
||||
type: boolean
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
|
|
@ -62,6 +67,9 @@ jobs:
|
|||
- name: Configure GitHub Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Install stork
|
||||
if: ${{ inputs.stork }}
|
||||
run: cargo install stork-search --locked
|
||||
- name: Install requirements
|
||||
run: pip install ${{ inputs.requirements }}
|
||||
- name: Build Pelican site
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue