Skip to content

Commit

Permalink
Update website-bot-update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SrIzan10 authored May 5, 2024
1 parent 07ea1db commit 07812d6
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/website-bot-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,18 @@ jobs:
run: |
mv docusaurus.config.js docgen.docusaurus.config.js
mv original.docusaurus.config.js docusaurus.config.js
- name: Push to repo
- name: Commit changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "sernbot"
git add .
git commit -m "docs: Update API section"
git push
- name: Push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.AUTOMATA_TOKEN }}
branch: 'main'
repository: 'sern-handler/website'
community-bot:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -69,4 +76,9 @@ jobs:
run: |
git add .
git commit -m "docs: Update API section"
git push
- name: Push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.AUTOMATA_TOKEN }}
branch: 'main'
repository: 'sern-handler/sern-community'

0 comments on commit 07812d6

Please sign in to comment.