Skip to content

Commit

Permalink
fix(publish)
Browse files Browse the repository at this point in the history
  • Loading branch information
Runkang10 committed Oct 20, 2024
1 parent f3f6b44 commit b0d5fc0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: Publish

on:
push:
branches:
- main
workflow_run:
types:
- completed
workflows:
- Test
- Build
workflow_dispatch:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout
Expand Down

0 comments on commit b0d5fc0

Please sign in to comment.