File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Publish docs via GitHub Pages
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - develop
8
+
9
+ permissions :
10
+ contents : write
11
+
12
+ jobs :
13
+ build :
14
+ name : Deploy docs
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Checkout plugin-boilerplate
21
+ uses : actions/checkout@v4
22
+ with :
23
+ path : ./app-plugin-boilerplate
24
+ repository : LedgerHQ/app-plugin-boilerplate
25
+ ref : develop
26
+
27
+ - name : Configure Git Credentials
28
+ run : |
29
+ git config --global user.name "github-actions[bot]"
30
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
31
+
32
+ - name : Install python
33
+ uses : actions/setup-python@v5
34
+ with :
35
+ python-version : 3.x
36
+
37
+ - name : Install requirements
38
+ run : pip install -r docs/requirements.txt
39
+
40
+ - name : Deploy docs
41
+ run : |
42
+ mkdocs gh-deploy --force
43
+ env :
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments