Skip to content

Commit

Permalink
chore: add deploy workflow (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis authored May 7, 2023
1 parent b66da62 commit 4726aaf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.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@v3
- uses: erlef/setup-beam@v1
with:
otp-version: 25
elixir-version: 1.14
- run: mix deps.get
- run: mix compile --docs
- run: mix hex.publish --yes

0 comments on commit 4726aaf

Please sign in to comment.