Skip to content

fix: do not use 'recent' commitment (#229) #113

fix: do not use 'recent' commitment (#229)

fix: do not use 'recent' commitment (#229) #113

Workflow file for this run

name: Docs publish
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: oleksiyrudenko/[email protected]
with:
global: true
name: 'Github CI'
email: '[email protected]'
token: '${{ secrets.GITHUB_TOKEN }}'
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Generate docs and write files to ./docs
run: npm run docs
- name: Commit files
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add docs/ -f
git commit -m "Updated docs" -a
- name: Push changes to docs branch
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: docs
force: true