Skip to content

Commit

Permalink
enable inputs on release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bradbury authored Jan 28, 2022
1 parent 6617fac commit c9d47aa
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
name: Release
on:
workflow_dispatch:
inputs:
base:
description: 'Base branch to deploy core from'
required: false
default: 'main'

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: flucoma/actions/env@v4
with:
branch: main
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/docs@v4
with:
target: MAKE_MAX_REF
branch: main
branch: ${{ github.event.inputs.base }}

- uses: actions/upload-artifact@v2
with:
Expand All @@ -25,7 +30,7 @@ jobs:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v4
with:
branch: main
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/max@v4

- uses: actions/upload-artifact@v2
Expand All @@ -41,7 +46,7 @@ jobs:
- uses: actions/checkout@v2
- uses: flucoma/actions/env@v4
with:
branch: main
branch: ${{ github.event.inputs.base }}
- uses: flucoma/actions/max@v4

- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit c9d47aa

Please sign in to comment.