We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e691fa commit 069ba11Copy full SHA for 069ba11
.github/workflows/publish-docs.yml
@@ -0,0 +1,34 @@
1
+name: Publish Docs
2
+
3
+on: workflow_dispatch
4
5
+jobs:
6
+ publish:
7
+ env:
8
+ MIX_ENV: docs
9
+ 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
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
0 commit comments