Skip to content

Commit

Permalink
Add a Github Action to release to hex.pm when tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Mar 24, 2021
1 parent 31fe093 commit 844042c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/hexpm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: hexpm-release

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2

- name: Publish to hex.pm
run: rebar3 hex publish --repo hexpm --yes || head rebar3.crashdump
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}

0 comments on commit 844042c

Please sign in to comment.