Compare commits
2 Commits
c5072e28a6
...
a5fdd18315
Author | SHA1 | Date | |
---|---|---|---|
a5fdd18315 | |||
42c30478e7 |
@@ -9,6 +9,12 @@ 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:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: "Branch to deploy"
|
||||||
|
required: true
|
||||||
|
default: "dev"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy-docs:
|
deploy-docs:
|
||||||
@@ -35,7 +41,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
|
||||||
|
Reference in New Issue
Block a user