chore: bump actions/checkout from 3.5.3 to 4.1.0 (#1565) #200
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: Publish documentation | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+* | |
permissions: {} | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag: v4.1.0 | |
- name: Fetch all git branches | |
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # tag: v3.8.1 | |
with: | |
node-version: 14.x | |
- run: npm install --engine-strict --no-lockfile | |
- run: npm run docs:build | |
- uses: dsanders11/github-action-gh-pages@6837fa66857ff3234e3ea5bcf709c86767ae3ce1 | |
with: | |
defaultBranch: main | |
docsPath: typedoc | |
gitCommitEmail: '[email protected]' | |
gitCommitMessage: 'Publish [skip ci]' | |
gitCommitUser: 'github-actions' | |
showUnderscoreFiles: true | |
versionDocs: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |