Skip to content

fix: Updated the GH secrets and config params for ivy-dev-bot in work… #96

fix: Updated the GH secrets and config params for ivy-dev-bot in work…

fix: Updated the GH secrets and config params for ivy-dev-bot in work… #96

name: Update submodules
on:
push:
branches:
- main
workflow_dispatch:
jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️ ivy
uses: actions/checkout@v4
with:
repository: unifyai/ivy
token: ${{ secrets.DEV_BOT_PAT }}
submodules: recursive
- name: Update submodules
run: |
git config --global user.email "[email protected]"
git config --global user.name "ivy-dev-bot"
git submodule update --remote docs/demos
git add .
git commit -m "Update demos 🤖"
git push origin main