Skip to content

Merge pull request #7 from b2atech/feature/messaging-architecture-file #28

Merge pull request #7 from b2atech/feature/messaging-architecture-file

Merge pull request #7 from b2atech/feature/messaging-architecture-file #28

Workflow file for this run

name: Build & Deploy MkDocs to OVH
on:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install MkDocs and plugins
run: |
pip install mkdocs mkdocs-material plantuml-markdown
- name: Build MkDocs site
run: mkdocs build
- name: Deploy to OVH Server
uses: appleboy/scp-action@v0.1.4
with:
host: ${{ secrets.OVH_HOST }}
username: ${{ secrets.OVH_USER }}
password: ${{ secrets.OVH_PASSWORD }}
port: 22
source: "site/*"
target: "/var/www/dhanman-docs-site" # Change to your OVH web root folder for docs
strip_components: 1
timeout: 30s
command_timeout: 10m
debug: false