Skip to content

build: update electron/electron-quick-start branch to main (#1505) #159

build: update electron/electron-quick-start branch to main (#1505)

build: update electron/electron-quick-start branch to main (#1505) #159

Workflow file for this run

name: Publish documentation
on:
push:
branches:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+*
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag: v3.5.2
- 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: 14.x
- run: npm install --engine-strict --no-lockfile
- run: npm run docs:build
- uses: docker://malept/gha-gh-pages:1.3.0
with:
defaultBranch: main
docsPath: typedoc
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.DOCS_SSH_DEPLOY_KEY }}