File tree Expand file tree Collapse file tree 1 file changed +4
-27
lines changed
Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Original file line number Diff line number Diff line change @@ -4,31 +4,8 @@ on: workflow_dispatch
44
55jobs :
66 publish :
7- env :
8- MIX_ENV : docs
7+ uses : swoosh/actions/.github/workflows/publish.yml@main
8+ with :
9+ mode : ' docs'
10+ secrets :
911 HEX_API_KEY : ${{ secrets.HEX_API_KEY }}
10- runs-on : ubuntu-latest
11- steps :
12- - uses : actions/checkout@v2
13-
14- - name : Setup BEAM
15- uses : erlef/setup-beam@v1
16- with :
17- elixir-version : 1.12.x
18- otp-version : 24.x
19-
20- - name : Restore dependencies cache
21- uses : actions/cache@v2
22- id : cache-elixir-deps
23- with :
24- path : |
25- deps
26- _build
27- key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
28-
29- - name : Install Dependencies
30- if : steps.cache-elixir-deps.outputs.cache-hit != 'true'
31- run : mix do deps.get, deps.compile, compile
32-
33- - name : Build and publish
34- run : mix hex.publish docs --yes
You can’t perform that action at this time.
0 commit comments