| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- name: Generate Docs
- permissions:
- contents: write
- 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
- - uses: actions/setup-node@v3
- with:
- node-version: 16
- cache: npm
- - name: Install dependencies
- run: |
- apt-get update && apt-get install -y rsync nodejs npm doxygen
- - name: Build doxygen docs
- run: |
- qmk --verbose generate-docs
- - name: Deploy
- uses: JamesIves/github-pages-deploy-action@v4.4.1
- with:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- BASE_BRANCH: master
- BRANCH: gh-pages
- FOLDER: .build/docs/build
- GIT_CONFIG_EMAIL: hello@qmk.fm
|