Skip to content

Commit

Permalink
Update develop.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter93 authored Sep 22, 2024
1 parent 77da3b9 commit e9b578f
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
nvm use 20
corepack enable
npm install -g moxygen
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Build docs
run: |
Expand All @@ -48,12 +51,25 @@ jobs:
qmk --verbose generate-docs
rm .build/docs/CNAME
sed -i "s^base: '/'^base: '/qmk_docs/'^" .build/docs/index.html
- name: Deploy
uses: JamesIves/github-pages-[email protected]
- name: Upload Artifact
uses: actions/upload-pages-artifact@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: .build/docs
clean: true
single-commit: true
path: "./build/docs"

deploy-coverage:
runs-on: ubuntu-latest
needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit e9b578f

Please sign in to comment.