mirror of
https://github.com/andwati/dokploy.git
synced 2026-12-04 16:48:46 +00: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:
@@ -62,10 +62,9 @@ jobs:
|
|||||||
echo "HAS_CHANGES=true" >> $GITHUB_ENV
|
echo "HAS_CHANGES=true" >> $GITHUB_ENV
|
||||||
|
|
||||||
# Commit los cambios
|
# Commit los cambios
|
||||||
git commit -m "chore: update OpenAPI specification [skip ci]
|
git commit -m "chore: update OpenAPI specification [skip ci]" \
|
||||||
|
-m "Generated from commit: ${{ github.sha }}" \
|
||||||
Generated from commit: ${{ github.sha }}
|
-m "Triggered by: ${{ github.event_name }}"
|
||||||
Triggered by: ${{ github.event_name }}"
|
|
||||||
|
|
||||||
git push
|
git push
|
||||||
|
|
||||||
@@ -76,9 +75,10 @@ Triggered by: ${{ github.event_name }}"
|
|||||||
uses: peter-evans/repository-dispatch@v2
|
uses: peter-evans/repository-dispatch@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.DOCS_SYNC_TOKEN }}
|
token: ${{ secrets.DOCS_SYNC_TOKEN }}
|
||||||
repository: dokploy/website # Cambia por tu repo de docs
|
repository: dokploy/website
|
||||||
event-type: openapi-updated
|
event-type: openapi-updated
|
||||||
client-payload: '{"commit": "${{ github.sha }}", "timestamp": "${{ github.event.head_commit.timestamp }}"}'
|
client-payload: '{"commit": "${{ github.sha }}", "timestamp": "${{ github.event.head_commit.timestamp }}"}'
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Create summary
|
- name: Create summary
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user