Skip to content

Commit 2d0669e

Browse files
author
Mauricio Siu
committed
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.
1 parent 3f12f20 commit 2d0669e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync-openapi-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ jobs:
5050
cd website-repo
5151
5252
# Copia el openapi.json al website (sobrescribe)
53-
mkdir -p public
53+
mkdir -p apps/docs/public
5454
cp -f ../openapi.json apps/docs/public/openapi.json
5555
5656
# Configura git
5757
git config user.name "Dokploy Bot"
5858
git config user.email "[email protected]"
5959
6060
# Agrega y commitea siempre
61-
git add public/openapi.json
61+
git add apps/docs/public/openapi.json
6262
git commit -m "chore: sync OpenAPI specification [skip ci]" \
6363
-m "Source: ${{ github.repository }}@${{ github.sha }}" \
6464
-m "Updated: $(date -u +'%Y-%m-%d %H:%M:%S UTC')" \

0 commit comments

Comments
 (0)