fix: validate checksum of cached artifacts too (#212) #84
Workflow file for this run
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: | |
contents: read | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # tag: v3.5.3 | |
- name: Fetch all git branches | |
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* | |
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0 | |
with: | |
node-version: 18.x | |
- run: yarn --frozen-lockfile | |
- run: yarn build:docs | |
- uses: docker://malept/gha-gh-pages:1.3.0 | |
with: | |
gitCommitEmail: 'electron-bot@users.noreply.github.com' | |
gitCommitMessage: 'Publish [skip ci]' | |
gitCommitUser: 'Electron Bot' | |
showUnderscoreFiles: true | |
versionDocs: true | |
env: | |
GH_PAGES_SSH_DEPLOY_KEY: ${{ secrets.GH_PAGES_SSH_DEPLOY_KEY }} |