Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
inc
Browse files Browse the repository at this point in the history
  • Loading branch information
RossBugginsNHS committed Jun 27, 2024
1 parent dd63149 commit 52b5dff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cicd-3-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: "2. Deploy docs to GitHub Pages"
on:
workflow_dispatch:
inputs:
ignore_prereleases:
include_prereleases:
type: choice
description: "Ignore pre-releases"
default: 'false'
description: "Include pre-releases"
default: 'true'
options:
- 'true'
- 'false'
Expand Down Expand Up @@ -75,10 +75,10 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
if [[ ${{inputs.ignore_prereleases}} == true ]]; then
json=$(gh release list --json tagName --limit 1 --exclude-drafts --exclude-pre-releases)
else
if [[ ${{inputs.include_prereleases}} == true ]]; then
json=$(gh release list --json tagName --limit 1 --exclude-drafts)
else
json=$(gh release list --json tagName --limit 1 --exclude-drafts --exclude-pre-releases)
fi
echo $json
Expand Down

0 comments on commit 52b5dff

Please sign in to comment.