From c645ad29460c47ccf399c217f048f1d6d0e09ec1 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Sat, 28 Oct 2023 18:54:04 +0200 Subject: [PATCH] add action to generate SoC html table --- .github/workflows/generate-html-files.yml | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/generate-html-files.yml diff --git a/.github/workflows/generate-html-files.yml b/.github/workflows/generate-html-files.yml new file mode 100644 index 0000000..b69d1d7 --- /dev/null +++ b/.github/workflows/generate-html-files.yml @@ -0,0 +1,35 @@ +name: Generate HTML tables + +on: + workflow_dispatch + + +jobs: + generate-and-deploy: + permissions: + contents: read + id-token: write + pages: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: master + + - name: Generate SoC features HTML + run: | + mkdir -p out + python3 generate.py > out/syscalls.html + + - name: Configure GitHub Pages + uses: actions/configure-pages@v3 + + - name: Upload Artifact + uses: actions/upload-pages-artifact@v2 + with: + path: out/ + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2