Skip to content

Commit

Permalink
chore: add publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
fahchen committed Jun 28, 2024
1 parent 5c18fda commit 03c6695
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish

on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
version-file: ".tool-versions"

- run: mix deps.get
- run: mix hex.build
- run: mix hex.publish --yes --replace
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}

0 comments on commit 03c6695

Please sign in to comment.