This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
generate-docs #2966
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: Generate Docs | |
on: | |
repository_dispatch: | |
types: [generate-docs] | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.9.0 | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
submodules: recursive | |
- name: Run update.sh | |
run: ./update.sh | |
- name: Commit changes | |
run: | | |
git config --global user.email "joaquim.verges@gmail.com" | |
git config --global user.name "thirdweb Git Bot" | |
git status | |
git add . | |
git commit -m "Update docs" | |
git push origin main |