Skip to content

Commit

Permalink
[CI/CD] github actions updated
Browse files Browse the repository at this point in the history
  • Loading branch information
garvae committed Oct 20, 2023
1 parent 6599798 commit 249ad8e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
name: Publish
on:
workflow_dispatch:
inputs:
agreement:
description: Run manually?
type: choice
options:
- yes
- no
default: no
required: true

workflow_run:
workflows: [ "CI" ]
branches: [ master ]
types:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.inputs.agreement == 'yes' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 249ad8e

Please sign in to comment.