Merge pull request #1260 from RavuAlHemio/stm32f745-dbg-fields #611
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build gh-pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_html: | |
name: Build HTML | |
runs-on: ubuntu-latest | |
env: | |
SVDTOOLS: svdtools | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Install tools | |
run: | | |
./scripts/tool_install.sh svdtools | |
- name: Build HTML | |
run: make -j2 html | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: html | |
deploy_pages: | |
name: Deploy GH Pages | |
runs-on: ubuntu-latest | |
needs: build_html | |
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@v4 |