Merge pull request #16 from iamkanishka/refactor_fuction_service #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Elixir Package to Hex | |
on: | |
push: | |
branches: | |
- master # Trigger only on pushes to the master branch | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: mix deps.get | |
- name: Publish to Hex | |
env: | |
HEX_API_KEY: ${{ secrets.HEX_API_KEY }} | |
run: | | |
mix hex.publish --yes | |