File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy docs to Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ concurrency :
8+ group : pages
9+ cancel-in-progress : false
10+
11+ jobs :
12+ build-docs :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+ - name : Setup Elixir
18+ uses : erlef/setup-beam@v1
19+ - name : Fetch Elixir dependencies
20+ run : mix deps.get
21+ - name : Generate docs
22+ run : mix docs
23+ - name : Upload docs artifact
24+ uses : actions/upload-docs-artifact@v3
25+ with :
26+ path : doc
27+
28+ deploy :
29+ environment :
30+ name : github-pages
31+ url : ${{ steps.deployment.outputs.page_url }}
32+ permissions :
33+ pages : write
34+ id-token : write
35+ runs-on : ubuntu-latest
36+ needs : build-docs
37+ steps :
38+ - name : Deploy to GitHub Pages
39+ id : deployment
40+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ elixir 1.18.3-otp-27
You can’t perform that action at this time.
0 commit comments