Skip to content

Commit b6c78e0

Browse files
committed
add commit message for publishing to hex.pm
1 parent 0a2df29 commit b6c78e0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7676

7777
- name: Publish to Hex
78+
if: "contains(github.event.head_commit.message, '[publish to hex]')"
7879
run: |
7980
mix hex.config api_key ${{ secrets.HEX_API_KEY }}
8081
mix hex.publish --yes

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ defmodule FreecodecampElixir.MixProject do
6363

6464
defp docs do
6565
[
66-
main: "README",
66+
main: "readme",
6767
extra_section: "PAGES",
6868
authors: ["Jaeyson Anthony Y."],
6969
api_reference: false,

0 commit comments

Comments
 (0)