This commit is contained in:
2025-09-01 16:52:56 +02:00
parent c5072e28a6
commit 42c30478e7

View File

@@ -9,6 +9,7 @@ on:
push: push:
branches: [main] branches: [main]
paths: ["docs/**", "mkdocs.yml", ".gitea/workflows/deploy-docs.yaml"] paths: ["docs/**", "mkdocs.yml", ".gitea/workflows/deploy-docs.yaml"]
workflow_dispatch:
jobs: jobs:
deploy-docs: deploy-docs:
@@ -35,7 +36,7 @@ jobs:
shell: powershell shell: powershell
run: | run: |
$projectName = "${{ vars.GIT_REPOSITORY }}" $projectName = "${{ vars.GIT_REPOSITORY }}"
$basePath = Join-Path "${{ secrets.DEPLOY_BASE_PATH }}" $basePath = "${{ secrets.DEPLOY_BASE_PATH }}"
$targetPath = Join-Path $basePath $projectName $targetPath = Join-Path $basePath $projectName
# Crear directorio del proyecto si no existe # Crear directorio del proyecto si no existe