chore: improve commit message formatting in OpenAPI sync workflow

- Updated the GitHub Actions workflow to format the commit message for OpenAPI specification updates using multiple `-m` flags for better readability and clarity.
- Added `continue-on-error: true` to the repository dispatch step to ensure the workflow proceeds even if the dispatch fails.
This commit is contained in:
Mauricio Siu
2025-11-30 00:42:23 -06:00
parent 96e7b39e3c
commit 7d9806a050

View File

@@ -62,10 +62,9 @@ jobs:
echo "HAS_CHANGES=true" >> $GITHUB_ENV
# Commit los cambios
git commit -m "chore: update OpenAPI specification [skip ci]
Generated from commit: ${{ github.sha }}
Triggered by: ${{ github.event_name }}"
git commit -m "chore: update OpenAPI specification [skip ci]" \
-m "Generated from commit: ${{ github.sha }}" \
-m "Triggered by: ${{ github.event_name }}"
git push
@@ -76,9 +75,10 @@ Triggered by: ${{ github.event_name }}"
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.DOCS_SYNC_TOKEN }}
repository: dokploy/website # Cambia por tu repo de docs
repository: dokploy/website
event-type: openapi-updated
client-payload: '{"commit": "${{ github.sha }}", "timestamp": "${{ github.event.head_commit.timestamp }}"}'
continue-on-error: true
- name: Create summary
run: |