Skip to content

Commit

Permalink
adding auto-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
dearkafka committed May 17, 2024
1 parent cd76350 commit 16330d6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Auto-publish

on: [push, workflow_dispatch]

jobs:
# Auto-publish when version is increased
publish-job:
# Only publish on `main` branch
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions: # Don't forget permissions
contents: write

steps:
- uses: etils-actions/[email protected]
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
parse-changelog: true

0 comments on commit 16330d6

Please sign in to comment.