From 9772c74e47a87c81f9533802c8161e502efd60be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Fri, 6 Mar 2026 01:12:18 +0100 Subject: [PATCH] mm --- .gitea/workflows/gitea-actions.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/gitea-actions.yml b/.gitea/workflows/gitea-actions.yml index c1be393..6fdd1e5 100644 --- a/.gitea/workflows/gitea-actions.yml +++ b/.gitea/workflows/gitea-actions.yml @@ -15,18 +15,12 @@ jobs: git clone http://oauth2:${{ gitea.token }}@192.168.1.18:3000/${{ gitea.repository }}.git . git checkout ${{ gitea.sha }} - - name: Build Docusaurus site in container - run: | - docker run --rm \ - -v "${{ gitea.workspace }}":/workspace \ - -w /workspace/docs-site \ - node:20 \ - bash -lc "npm ci && npm run build" + - name: Build Docusaurus site + run: cd docs-site && npm ci && npm run build - name: Deploy to /srv/ssd/www/docusaurus run: | - mkdir -p /srv/www/docusaurus - rm -rf /srv/www/docusaurus/* - cp -r docs-site/build/* /srv/www/docusaurus/ - echo "Deployed files in /srv/www/docusaurus:" - ls -R /srv/www/docusaurus | head -40 \ No newline at end of file + rm -rf /deploy/* + cp -r docs-site/build/* /deploy/ + echo "Deployed files:" + ls /deploy | head -20 \ No newline at end of file