diff --git a/.gitea/workflows/deploy-docs-dev.yaml b/.gitea/workflows/deploy-docs-dev.yaml index a597ff3..91a805d 100644 --- a/.gitea/workflows/deploy-docs-dev.yaml +++ b/.gitea/workflows/deploy-docs-dev.yaml @@ -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