Better styling and loading and privacy improvements #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Live deploy docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Collect documentation | |
uses: actions/checkout@v4 | |
- name: Install MkDocs Material | |
run: sudo apt update && sudo apt install -y mkdocs-material | |
- name: Build the site | |
run: mkdocs build | |
- name: Upload naar server via SFTP | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.SFTP_HOST }} | |
username: ${{ secrets.SFTP_USER }} | |
password: ${{ secrets.SFTP_PASSWORD }} | |
source: "site/*" | |
target: "/var/www/docs" | |
strip_components: 1 |