This commit is contained in:
2025-09-01 16:26:26 +02:00
parent 480ff06731
commit 57fe16f9ce

View File

@@ -1,5 +1,5 @@
name: Deploy Documentation Local
run-name: Deploying ${{ gitea.repository }} docs locally
run-name: Deploying ${{ vars.GIT_REPOSITORY }} docs locally
on:
push:
@@ -13,15 +13,6 @@ jobs:
deploy-docs:
runs-on: windows # Ejecutar directamente en el host Windows
steps:
- name: Obtener solo el nombre del repositorio
run: echo "${GITHUB_REPOSITORY##*/}"
- name: Get project name
shell: powershell
run: |
$projectName = "${{ gitea.repository_name }}"
echo "Project Name: $projectName"
- name: Check out repository code
uses: actions/checkout@v4
@@ -42,9 +33,7 @@ jobs:
- name: Deploy to IIS directory
shell: powershell
run: |
$projectName = "${{ gitea.repository_name }}"
echo "Project Name: $projectName"
$projectName = "${{ vars.GIT_REPOSITORY }}"
$basePath = Join-Path "${{ secrets.DEPLOY_BASE_PATH }}" "dev"
$targetPath = Join-Path $basePath $projectName