ga: reformat #52
This file contains 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: Generate HTML tables | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "data/*" | |
- "templates/*" | |
jobs: | |
generate-and-deploy: | |
permissions: | |
contents: read | |
id-token: write | |
pages: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Generate SoC features HTML | |
run: | | |
mkdir -p out | |
python3 generate.py > out/arm-socs.html | |
- name: Generate Arm cpu cores HTML | |
run: | | |
mkdir -p out | |
python3 generate-cpu-cores-table.py > out/arm-cpu-cores.html | |
- name: Configure GitHub Pages | |
uses: actions/configure-pages@v5 | |
- name: Upload Artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: out/ | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |