diff --git a/.github/workflows/develop.yaml b/.github/workflows/develop.yaml index fd06ff6..b6ae054 100644 --- a/.github/workflows/develop.yaml +++ b/.github/workflows/develop.yaml @@ -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: | @@ -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-deploy-action@4.1.5 + + - 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