Skip to content

Bump ex_doc from 0.32.0 to 0.32.1 #6

Bump ex_doc from 0.32.0 to 0.32.1

Bump ex_doc from 0.32.0 to 0.32.1 #6

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/hex.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/hex.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
check_commit_message:
name: skips CI and prints cli message, without fail build badge
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[skip ci]')"
steps:
- run: echo "no need to build, based from commit message"
publish_to_hex:
name: "Publish to Hex"
runs-on: ubuntu-latest
# doesn't contain "ci skip" in commit message
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
run: |
mix hex.config api_key ${{ secrets.HEX_API_KEY }}
mix hex.publish --yes