Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rzcastilho committed Oct 14, 2021
2 parents 8d9ab4a + 473f336 commit a0936f0
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
elixir: 1.11.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
Expand All @@ -35,7 +35,13 @@ jobs:
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix coveralls.github
env:
MIX_ENV: test
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
run: mix hex.publish --yes --replace
publish:
needs: build
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
name: Publishing on HEX.PM
environment: production
steps:
- run: mix hex.publish --yes --replace


0 comments on commit a0936f0

Please sign in to comment.