Skip to content

Commit

Permalink
Add a release action
Browse files Browse the repository at this point in the history
  • Loading branch information
davydog187 committed Mar 26, 2023
1 parent 71fee03 commit 0d5e3ff
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: Release to Hex.pm

on:
release:
types: [published]

jobs:
Publish:
runs-on: ubuntu-latest
env:
HEX_API_KEY: ${{ secrets.HEXPM_SECRET }}
steps:
- uses: actions/checkout@v2
- uses: erlef/[email protected]
with:
elixir-version: "1.14.0"
otp-version: "25.0.0"
- run: mix deps.get
- run: mix compile --docs
- run: mix hex.publish --yes

0 comments on commit 0d5e3ff

Please sign in to comment.