docs
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user