Skip to content

wesleimp/action-publish-hex

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-publish-hex

Publish elixir packages to hex.pm

Usage

  • Create a key on your hex.pm dashboard.
  • Add the key to your GitHub repository’s secrets. Call it HEX_API_KEY.
  • Use this GitHub Action in your workflow:
on:
  push:
    tags:
      - '*'

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

      - name: Publish package to hex.pm
        uses: wesleimp/action-publish-hex@v1
        env:
          HEX_API_KEY: ${{ secrets.HEX_API_KEY }}