Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
publish trigger only on v* tag
  • Loading branch information
tgorka authored Oct 23, 2021
1 parent 4f35e95 commit a4abdc5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: PUBLISHING

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
# Triggers the workflow on push for tags with name starting on v
push:
branches: [ main ]
pull_request:
branches: [ main ]
tags:
- 'v*'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down

0 comments on commit a4abdc5

Please sign in to comment.