mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-31 20:58:04 +00:00
fix: trigger docs sync on develop instead of main
This commit is contained in:
@@ -163,7 +163,7 @@ jobs:
|
|||||||
|
|
||||||
sync-docs:
|
sync-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Sencho repo
|
- name: Checkout Sencho repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -186,5 +186,5 @@ jobs:
|
|||||||
git config user.email "docs-bot@sencho.io"
|
git config user.email "docs-bot@sencho.io"
|
||||||
git config user.name "Sencho Docs Bot"
|
git config user.name "Sencho Docs Bot"
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "docs: sync from main@${{ github.sha }}" || echo "No changes to commit"
|
git commit -m "docs: sync from develop@${{ github.sha }}" || echo "No changes to commit"
|
||||||
git push
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user