Skip to content

Commit 310ecea

Browse files
Add deploy workflow (#18)
* Add publish workflow * Formatting
1 parent 26a7503 commit 310ecea

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
push:
3+
tags:
4+
- "*"
5+
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out
11+
uses: actions/checkout@v2
12+
13+
- name: Publish package to hex.pm
14+
uses: wesleimp/action-publish-hex@v1
15+
env:
16+
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ flagsmith_engine-*.tar
2727

2828
# Ignore the dialyzer PLTS
2929
/priv/plts
30+
31+
.direnv
32+
.tool-versions

0 commit comments

Comments
 (0)