diff --git a/.github/workflows/hexpm-release.yml b/.github/workflows/hexpm-release.yml new file mode 100644 index 0000000..fae4ccb --- /dev/null +++ b/.github/workflows/hexpm-release.yml @@ -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 }}