Skip to content

Merge pull request #73 from resuelve/feature/add_workflow_publish_hexpm #1

Merge pull request #73 from resuelve/feature/add_workflow_publish_hexpm

Merge pull request #73 from resuelve/feature/add_workflow_publish_hexpm #1

Workflow file for this run

name: Publish to hex.pm
on:
push:
tags:
- "*"
jobs:
publish-hexpm:
name: publish to hex.pm
runs-on: self-hosted-rtd
env:
ImageOS: ubuntu20
container: elixir:1.9.4-alpine
steps:
- uses: actions/checkout@v3
- 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 }}