Skip to content

Commit

Permalink
add commit message for publishing to hex.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeyson committed Sep 4, 2022
1 parent 0a2df29 commit b6c78e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to Hex
if: "contains(github.event.head_commit.message, '[publish to hex]')"
run: |
mix hex.config api_key ${{ secrets.HEX_API_KEY }}
mix hex.publish --yes
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ defmodule FreecodecampElixir.MixProject do

defp docs do
[
main: "README",
main: "readme",
extra_section: "PAGES",
authors: ["Jaeyson Anthony Y."],
api_reference: false,
Expand Down

0 comments on commit b6c78e0

Please sign in to comment.