Skip to content
Snippets Groups Projects
Commit f949874b authored by James Briggs's avatar James Briggs
Browse files

fix: test new push

parent 51a989cd
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ jobs: ...@@ -39,6 +39,7 @@ jobs:
with: with:
repository: aurelio-labs/docs repository: aurelio-labs/docs
path: temp-docs path: temp-docs
ref: main
token: ${{ secrets.PAT }} token: ${{ secrets.PAT }}
- name: Copy and rename docs - name: Copy and rename docs
...@@ -91,10 +92,16 @@ jobs: ...@@ -91,10 +92,16 @@ jobs:
.pages) |= ($pages | fromjson) .pages) |= ($pages | fromjson)
' temp-docs/docs.json > temp-docs/docs.json.tmp && mv temp-docs/docs.json.tmp temp-docs/docs.json ' 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 working-directory: temp-docs
run: | run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add . 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment