File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish documentation
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ python-version : [3.13]
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - name : Set up Python ${{ matrix.python-version }}
19
+ uses : actions/setup-python@v5
20
+ with :
21
+ python-version : ${{ matrix.python-version }}
22
+ cache : ' pip'
23
+ - name : Install dependencies
24
+ run : |
25
+ python3 -m pip install --upgrade pip
26
+ pip install -e .
27
+ cd docs
28
+ - name : Build main site
29
+ env :
30
+ SITE_ENV : ${{ secrets.SITE_ENV }}
31
+ run : |
32
+ cd docs
33
+ aurora build
34
+ - name : rsync deployments
35
+
36
+ with :
37
+ switches : -avzr
38
+ path : " docs/_site/*"
39
+ remote_path : ${{ secrets.PATH }}
40
+ remote_host : ${{ secrets.SERVER_HOST }}
41
+ remote_user : ${{ secrets.SERVER_USERNAME }}
42
+ remote_key : ${{ secrets.KEY }}
You can’t perform that action at this time.
0 commit comments