File tree 4 files changed +1601
-1453
lines changed
4 files changed +1601
-1453
lines changed Original file line number Diff line number Diff line change
1
+ on : push
2
+ name : Publish Website
3
+ jobs :
4
+ web-deploy :
5
+ name : Deploy Website Every Commit
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - name : Checkout Repository
9
+ uses : actions/checkout@v3
10
+ with :
11
+ ref : pyroll.org
12
+
13
+ - name : Setup Python
14
+ uses : actions/setup-python@v4
15
+ with :
16
+ python-version : 3.12
17
+ cache : " pipenv"
18
+
19
+ - name : Install Python Environment via Pipenv
20
+ uses : tiagovrtr/actions-pipenv@v1
21
+
22
+ - name : Run Build Tasks
23
+ run : pipenv run tasks
24
+
25
+ - name : Build Sphinx Docs
26
+ run : pipenv run sphinx
27
+ continue-on-error : true
28
+
29
+ - name : Publish Files
30
+ uses : SamKirkland/web-deploy@v1
31
+ with :
32
+ target-server : pyroll.org
33
+ remote-user : hosting195687
34
+ private-ssh-key : ${{ secrets.HOSTING_PRIVATE_KEY }}
35
+ destination-path : ~/pyroll.org/httpdocs/
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ myst-nb = "~=1.0"
14
14
pytest = " ~=7.0"
15
15
ipython = " ~=8.0"
16
16
schemdraw = " ~=0.15"
17
- pytask = " ~=0.2 "
17
+ pytask = " ~=0.3.0 "
18
18
jupyterlab = " ~=3.5"
19
19
ipywidgets = " ~=8.1"
20
20
@@ -25,4 +25,4 @@ tasks = "python -m pytask"
25
25
sphinx = " python -m sphinx ./docs ./build"
26
26
27
27
[requires ]
28
- python_version = " 3.10 "
28
+ python_version = " 3.12 "
You can’t perform that action at this time.
0 commit comments