Skip to content

Commit

Permalink
build: trigger publish workflow when publishing a release
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasoares committed Oct 29, 2024
1 parent 48dea49 commit 9e52eaf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: publish

on:
push:
branches:
- main
paths:
- lib/human_enum/version.rb
release:
types: [published]

permissions:
packages: write
Expand Down

0 comments on commit 9e52eaf

Please sign in to comment.