Skip to content

Merge pull request #15 from resuelve/fix/ci #6

Merge pull request #15 from resuelve/fix/ci

Merge pull request #15 from resuelve/fix/ci #6

Workflow file for this run

---
name: Publish to hex.pm
on:
push:
tags:
- "*"
env:
GOOGLE_CREDENTIALS: W3t9XQ==
jobs:
publish-hexpm:
name: publish to hex.pm
runs-on: ubuntu-latest
container: elixir:1.14-alpine
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
apk add --update bash openssl git
mix local.hex --force && mix local.rebar --force
- name: Install elixir dependencies
run: mix deps.get
- name: publish to hex.pm
run: mix hex.publish --yes
env:
HEX_API_KEY: ${{ secrets.HEX_KEY_PUBLISH }}