mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
fix: correct path for OpenAPI documentation in sync workflow
- Updated the directory structure in the OpenAPI sync workflow to ensure the openapi.json file is copied to the correct path (apps/docs/public) for proper deployment.
This commit is contained in:
4
.github/workflows/sync-openapi-docs.yml
vendored
4
.github/workflows/sync-openapi-docs.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
|||||||
cd website-repo
|
cd website-repo
|
||||||
|
|
||||||
# Copia el openapi.json al website (sobrescribe)
|
# Copia el openapi.json al website (sobrescribe)
|
||||||
mkdir -p public
|
mkdir -p apps/docs/public
|
||||||
cp -f ../openapi.json apps/docs/public/openapi.json
|
cp -f ../openapi.json apps/docs/public/openapi.json
|
||||||
|
|
||||||
# Configura git
|
# Configura git
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
git config user.email "bot@dokploy.com"
|
git config user.email "bot@dokploy.com"
|
||||||
|
|
||||||
# Agrega y commitea siempre
|
# Agrega y commitea siempre
|
||||||
git add public/openapi.json
|
git add apps/docs/public/openapi.json
|
||||||
git commit -m "chore: sync OpenAPI specification [skip ci]" \
|
git commit -m "chore: sync OpenAPI specification [skip ci]" \
|
||||||
-m "Source: ${{ github.repository }}@${{ github.sha }}" \
|
-m "Source: ${{ github.repository }}@${{ github.sha }}" \
|
||||||
-m "Updated: $(date -u +'%Y-%m-%d %H:%M:%S UTC')" \
|
-m "Updated: $(date -u +'%Y-%m-%d %H:%M:%S UTC')" \
|
||||||
|
|||||||
Reference in New Issue
Block a user