mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-09 18:19:08 +00:00
88086a80b0
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 3.7.1 to 4.3.4. - [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases) - [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/3.7.1...v4.3.4) --- updated-dependencies: - dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
43 lines
930 B
YAML
43 lines
930 B
YAML
name: Generate Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'tmk_core/**'
|
|
- 'quantum/**'
|
|
- 'platforms/**'
|
|
- 'docs/**'
|
|
- '.github/workflows/docs.yml'
|
|
|
|
jobs:
|
|
generate:
|
|
runs-on: ubuntu-latest
|
|
container: qmkfm/qmk_cli
|
|
|
|
# protect against those who develop with their fork on master
|
|
if: github.repository == 'qmk/qmk_firmware'
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
apt-get update && apt-get install -y rsync nodejs npm doxygen
|
|
npm install -g moxygen
|
|
|
|
- name: Build docs
|
|
run: |
|
|
qmk --verbose generate-docs
|
|
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@v4.3.4
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
BASE_BRANCH: master
|
|
BRANCH: gh-pages
|
|
FOLDER: .build/docs
|
|
GIT_CONFIG_EMAIL: hello@qmk.fm
|