fix: Updated the GH secrets and config params for ivy-dev-bot in work… #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |