Compare commits
2 Commits
c5072e28a6
...
a5fdd18315
Author | SHA1 | Date | |
---|---|---|---|
a5fdd18315 | |||
42c30478e7 |
@@ -9,6 +9,12 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths: ["docs/**", "mkdocs.yml", ".gitea/workflows/deploy-docs.yaml"]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
description: "Branch to deploy"
|
||||
required: true
|
||||
default: "dev"
|
||||
|
||||
jobs:
|
||||
deploy-docs:
|
||||
@@ -35,7 +41,7 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
$projectName = "${{ vars.GIT_REPOSITORY }}"
|
||||
$basePath = Join-Path "${{ secrets.DEPLOY_BASE_PATH }}"
|
||||
$basePath = "${{ secrets.DEPLOY_BASE_PATH }}"
|
||||
$targetPath = Join-Path $basePath $projectName
|
||||
|
||||
# Crear directorio del proyecto si no existe
|
||||
|
Reference in New Issue
Block a user