fix(ci): YAML syntax error in if condition and safe.directory for sync-docs

This commit is contained in:
SaelixCode
2026-03-22 22:00:57 -04:00
parent eaf217720c
commit dc79683b01
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -164,7 +164,7 @@ jobs:
update-screenshots:
runs-on: ubuntu-latest
# Only on develop pushes; skip bot commits to avoid an infinite loop
if: github.event_name == 'push' && github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, 'docs: refresh screenshots')
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, 'docs: refresh screenshots') }}
needs: [ backend, frontend ]
permissions:
contents: write
@@ -252,6 +252,7 @@ jobs:
- name: Commit and push to sencho-docs
working-directory: sencho-docs
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE/sencho-docs"
git config user.email "docs-bot@sencho.io"
git config user.name "Sencho Docs Bot"
git add -A