10th try adding pdf-export
All checks were successful
Deploy MkDocs / deploy (push) Successful in 1m37s
All checks were successful
Deploy MkDocs / deploy (push) Successful in 1m37s
This commit is contained in:
parent
1ec156df8f
commit
365a77de9d
1 changed files with 6 additions and 4 deletions
|
@ -14,9 +14,10 @@ jobs:
|
|||
- name: Install mkdocs and rsync
|
||||
run: |
|
||||
apt update
|
||||
apt install -y mkdocs mkdocs-bootstrap mkdocs-nature mkdocs-material mkdocs-autorefs rsync weasyprint python3.11-venv
|
||||
apt install -y rsync weasyprint python3.11-venv
|
||||
python3 -m venv my-venv
|
||||
. my-venv/bin/activate
|
||||
pip install mkdocs mkdocs-bootstrap mkdocs-nature mkdocs-material mkdocs-autorefs
|
||||
pip install mkdocs-with-pdf
|
||||
- name: Install SSH key
|
||||
uses: https://github.com/shimataro/ssh-key-action@v2
|
||||
|
@ -24,12 +25,13 @@ jobs:
|
|||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
|
||||
- name: Build site
|
||||
run: mkdocs build
|
||||
run: |
|
||||
. my-venv/bin/activate
|
||||
mkdocs build
|
||||
- name: Sync
|
||||
run: rsync -rv --no-o --no-g --no-perms site/ berker@192.168.1.2:/home/berker/nginxproxymanager/data/site
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: many-artifacts
|
||||
path: site/
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue