Skip to content

Nightly: Publish test matrix HTML to chipsalliance.github.io/caliptra-sw #2

Nightly: Publish test matrix HTML to chipsalliance.github.io/caliptra-sw

Nightly: Publish test matrix HTML to chipsalliance.github.io/caliptra-sw #2

Workflow file for this run

name: Publish website
on:
workflow_call:
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Generate HTML
run: |
cd ci-tools/test-matrix
mkdir /tmp/www
CPTRA_WWW_OUT=/tmp/www cargo run --release
- name: Generate GitHub Pages artifacts
uses: actions/upload-pages-artifact@v1
with:
path: /tmp/www
deploy:
runs-on: ubuntu-22.04
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@v1