change workflow
Build and Deploy MkDocs / deploy-docs (push) Successful in 5m18s

This commit is contained in:
2026-10-10 20:50:33 +02:00
parent dd94aa460a
commit e1863fd146
+6
View File
@@ -8,6 +8,9 @@ on:
jobs:
deploy-docs:
runs-on: ubuntu-latest
container:
volume:
- /var/www/git-pages:/var/www/git-pages
steps:
- name: Checkout Code
uses: actions/checkout@v4
@@ -27,6 +30,9 @@ jobs:
- name: Deploy to Web Server Folder
run: |
# Ensure the mounted directory is recognized inside the container
mkdir -p /var/www/git-pages
# Clear the destination folder first to remove old deleted files
rm -rf /var/www/git-pages/*