mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
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:
10
.github/workflows/sync-openapi-docs.yml
vendored
10
.github/workflows/sync-openapi-docs.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user