Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add docs build and deploy workflow #7448

Merged
merged 15 commits into from
Nov 10, 2020
Prev Previous commit
Next Next commit
Run within base_container
  • Loading branch information
zvecr committed Oct 28, 2020

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit b860008d11571e5d238e78bf26f2270e0fc38346
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@ on:
jobs:
generate:
runs-on: ubuntu-latest
container: qmkfm/base_container

# protect against those who develop with their fork on master
if: github.repository == 'qmk/qmk_firmware'
@@ -25,12 +26,12 @@ jobs:

- name: Install dependencies
run: |
sudo apt install nodejs doxygen
apt-get update && apt-get install -y rsync nodejs npm doxygen
npm install -g moxygen

- name: Build docs
run: |
bin/qmk --verbose docs --generate
qmk --verbose docs --generate

- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1