Skip to content

SMTP limit

SMTP limit #81

Workflow file for this run

name: Build+Deploy
on:
push:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build
run: |
pip3 install mkdocs
pip3 install pymdown-extensions
pip3 install mkdocs-mermaid2-plugin
pip3 install mkdocs-material
mkdocs build
- name: Deploy
env:
SSHKEY: ${{ secrets.deploy_ssh_key }}
HOST: ssh.rosti.cz
PORT: 22430
run: |
echo "$SSHKEY" > ssh.key
chmod 600 ssh.key
rsync -avz --delete -e "ssh -i ssh.key -oStrictHostKeyChecking=no -p $PORT" site/ app@$HOST:/srv/app/