Skip to content

Commit

Permalink
chore: add param to workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Jun 8, 2024
1 parent 63fa8e5 commit 6166d02
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
types:
- 'published'
workflow_dispatch:
input:
svgoVersion:
description: The svg/svgo branch or tag to pull docs from.
default: 'main'
type: string

permissions:
contents: write
Expand All @@ -19,9 +24,10 @@ jobs:
with:
repository: svg/svgo
path: .svgo
ref: ${{ inputs.svgoVersion }}
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'yarn'
- run: yarn install --immutable
- run: yarn run build
Expand Down

0 comments on commit 6166d02

Please sign in to comment.