Skip to content

Merge branch 'main' of https://github.com/madkarmaa/streamable.js #5

Merge branch 'main' of https://github.com/madkarmaa/streamable.js

Merge branch 'main' of https://github.com/madkarmaa/streamable.js #5

Workflow file for this run

name: Update documentation
on:
push:
paths:
- 'src/index.js'
workflow_dispatch:
jobs:
run-npm-script:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Run docs script
run: npm run docs
- name: Commit changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add ./docs
git commit -m "ci: update documentation"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}