Skip to content

Commit 0db63f3

Browse files
committed
add actions to publish to pyroll.org
1 parent 7f73409 commit 0db63f3

File tree

4 files changed

+1601
-1453
lines changed

4 files changed

+1601
-1453
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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/

.pytask.sqlite3

4 KB
Binary file not shown.

Pipfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ myst-nb = "~=1.0"
1414
pytest = "~=7.0"
1515
ipython = "~=8.0"
1616
schemdraw = "~=0.15"
17-
pytask = "~=0.2"
17+
pytask = "~=0.3.0"
1818
jupyterlab = "~=3.5"
1919
ipywidgets = "~=8.1"
2020

@@ -25,4 +25,4 @@ tasks = "python -m pytask"
2525
sphinx = "python -m sphinx ./docs ./build"
2626

2727
[requires]
28-
python_version = "3.10"
28+
python_version = "3.12"

0 commit comments

Comments
 (0)