Skip to content

Commit 4e773e7

Browse files
committed
chore: fix publish public package
- remove ssh key setup - use correctly hex.pm
1 parent 422f04d commit 4e773e7

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/publich_public_package.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: Set up SSH key
13-
uses: webfactory/[email protected]
14-
with:
15-
ssh-private-key: ${{ secrets.WTTJ_DEPLOYER }}
16-
1712
- uses: actions/checkout@v4
1813

1914
- name: Set up Elixir
@@ -29,17 +24,16 @@ jobs:
2924
echo "LIB_NAME=$LIB_NAME" >> $GITHUB_ENV
3025
echo "VERSION=$VERSION" >> $GITHUB_ENV
3126
32-
- name: Configure package access
27+
- name: Configure local.hex
3328
run: |
3429
mix local.hex --force
35-
mix hex.organization auth wttj --key ${{ secrets.HEXPM_KEY }}
3630
3731
- name: Install dependencies
3832
run: |
3933
mix deps.get
4034
4135
- name: Publish to Hex.pm
4236
env:
43-
HEX_API_KEY: ${{ secrets.HEXPM_KEY }}
37+
HEX_API_KEY: ${{ secrets.HEXPM_PUBLIC_PACKAGES_KEY }}
4438
run: |
4539
mix hex.publish --yes

0 commit comments

Comments
 (0)