Skip to content

Commit

Permalink
Merge pull request #37 from evanmartiin/develop
Browse files Browse the repository at this point in the history
[Docs] Auto build docs on push
  • Loading branch information
plepers authored Dec 5, 2023
2 parents 55b52f3 + 3449195 commit 333bd44
Show file tree
Hide file tree
Showing 2 changed files with 252 additions and 230 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,28 @@ jobs:
name: Trigger docs re-build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2.4.0

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 19

- name: Build docs
run: |
npm install
npm run build-docs
- name: Commit and push
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: 'update: docs (runned by GHAction)'
author_email: 'pierre.lepers@gmail.com'
author_name: 'plepers'
branch: 'develop'

- uses: actions/github-script@v6
with:
github-token: ${{ secrets.ACTIONS_KEY }}
Expand Down
Loading

0 comments on commit 333bd44

Please sign in to comment.