docs: add documentation

This commit is contained in:
Maël Gangloff
2025-11-12 22:29:35 +01:00
parent 60223a7338
commit 4907279dd7
29 changed files with 4309 additions and 0 deletions

39
.github/workflows/publish-docs.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: Publish Documentation
on:
push:
paths: ['docs/**']
jobs:
build:
runs-on: ubuntu-latest
environment:
name: Domain Watchdog Documentation
url: https://domainwatchdog.eu
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
- name: Install dependencies
run: npm install --global yarn && yarn install
- name: Build Astro site
run: yarn run build
- name: Upload build via SCP
uses: appleboy/scp-action@master
with:
host: dw1.srv.domainwatchdog.eu
port: 2004
username: deploy
key: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
source: "dist/*"
target: /var/www/domainwatchdog.eu/
overwrite: true
debug: true