Skip to content

Merge pull request #4 from casantosmu/improves #4

Merge pull request #4 from casantosmu/improves

Merge pull request #4 from casantosmu/improves #4

Workflow file for this run

name: Continuous Deployment
on:
push:
branches: [main]
jobs:
build:
name: Build and Deploy MkDocs Site
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build MkDocs site
run: make build
- name: Deploy to Server
uses: easingthemes/ssh-deploy@v5.0.3
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i"
SOURCE: "site/"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}