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:
Mauricio Siu
2025-11-30 01:13:30 -06:00
parent 3f12f20e4c
commit 2d0669e288

View File

@@ -50,7 +50,7 @@ jobs:
cd website-repo
# Copia el openapi.json al website (sobrescribe)
mkdir -p public
mkdir -p apps/docs/public
cp -f ../openapi.json apps/docs/public/openapi.json
# Configura git
@@ -58,7 +58,7 @@ jobs:
git config user.email "bot@dokploy.com"
# 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]" \
-m "Source: ${{ github.repository }}@${{ github.sha }}" \
-m "Updated: $(date -u +'%Y-%m-%d %H:%M:%S UTC')" \