From f949874b96d52a9ad4e5efa4db9f22e933b1bdd5 Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Fri, 14 Feb 2025 17:49:16 +0400 Subject: [PATCH] fix: test new push --- .github/workflows/docs.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 02606b38..a19f1b82 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -39,6 +39,7 @@ jobs: with: repository: aurelio-labs/docs path: temp-docs + ref: main token: ${{ secrets.PAT }} - name: Copy and rename docs @@ -91,10 +92,16 @@ jobs: .pages) |= ($pages | fromjson) ' temp-docs/docs.json > temp-docs/docs.json.tmp && mv temp-docs/docs.json.tmp temp-docs/docs.json - - name: Commit and push changes + - name: Configure git + run: | + git config --local user.email "admin@aurelio.ai" + git config --local user.name "aurelio-bot" + + - name: Commit changes working-directory: temp-docs run: | - git config --local user.email "github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" git add . - git diff --quiet && git diff --staged --quiet || (git commit -m "Update Semantic Router documentation" && git push) + git diff --quiet && git diff --staged --quiet || (git commit -m "chore: update semantic router docs" && git push) + + - name: Push changes + run: git push origin main -- GitLab