From 2d0669e288a8c9c06b4f7bdc5dda8eae370257ee Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Sun, 30 Nov 2025 01:13:30 -0600 Subject: [PATCH] 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. --- .github/workflows/sync-openapi-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-openapi-docs.yml b/.github/workflows/sync-openapi-docs.yml index 90781c2e7..ddc51355a 100644 --- a/.github/workflows/sync-openapi-docs.yml +++ b/.github/workflows/sync-openapi-docs.yml @@ -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')" \