build(deps): lock file maintenance (#2024) #275
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: Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docs: | |
name: docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- run: git fetch --depth=20 origin +refs/tags/*:refs/tags/* | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Build probot | |
run: npm run build | |
- name: Publish documentation | |
run: ./script/publish-docs | |
env: | |
OCTOKITBOT_PAT: ${{ secrets.OCTOKITBOT_PAT }} |