Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire authored Oct 23, 2023
1 parent 4a4fb4b commit 1129b71
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ on:
inputs:
release:
description: 'Delpoy release?'
type: boolean
default: false
website:
description: 'Deploy website?'
type: boolean
default: false
pages-branch:
description: 'Pages branch name'
default: nist-pages
name: Deploy Tagged Release
jobs:
deploy-to-nexus:
Expand Down Expand Up @@ -74,6 +79,5 @@ jobs:
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && contains('true', github.event.inputs.website))
with:
personal_token: ${{ secrets.COMMIT_TOKEN }}
publish_dir: ./public
directory: 'target/staging'
publish_branch: test-pages
publish_dir: ./target/staging
publish_branch: (github.event_name == 'workflow_dispatch' && github.event.inputs.pages-branch) || 'nist-pages'

0 comments on commit 1129b71

Please sign in to comment.