Skip to content

Commit

Permalink
Add a workflow for releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
davydog187 committed Mar 8, 2024
1 parent 410d170 commit 3705b91
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish to Hex.pm

on:
release:
types: [published]

jobs:
Publish:
runs-on: ubuntu-latest
env:
HEX_API_KEY: ${{ secrets.HEXPM_SECRET }}
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
elixir-version: '1.16.1'
otp-version: '26.2.1'
- run: mix deps.get
- run: mix compile --docs
- run: mix hex.publish --yes

0 comments on commit 3705b91

Please sign in to comment.