Initial attempt at site build
This commit is contained in:
parent
198ff7206b
commit
eb6ca442b9
1 changed files with 18 additions and 5 deletions
|
@ -11,8 +11,21 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
- run: python3 -m venv .venv
|
- name: Install dependencies
|
||||||
- run: source .venv/bin/activate
|
run: |
|
||||||
- run: which python3
|
python3 -m venv .venv
|
||||||
- run: .venv/bin/python -m pip install git+https://git.jmsgrogan.com/jgrogan/dialann.git
|
.venv/bin/python -m pip install git+https://git.jmsgrogan.com/jgrogan/dialann.git
|
||||||
|
- name: Build site
|
||||||
|
run: |
|
||||||
|
pwd
|
||||||
|
ls
|
||||||
|
cd src
|
||||||
|
.venv/bin/dialann --build_dir=../build
|
||||||
|
- name: Deploy site
|
||||||
|
run: |
|
||||||
|
pwd
|
||||||
|
cd ../build
|
||||||
|
tar -czvf ../personal_site.tar.gz *
|
||||||
|
cd ..
|
||||||
|
ssh $SERVER_ADDR "tar -C $SERVER_LOC -xz -f-" < personal_site.tar.gz
|
||||||
|
r
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue