From f5b20ef4abab24b1db69c5f43a18922dfc000e04 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Tue, 24 Sep 2024 10:58:57 +0100 Subject: [PATCH] Added publish file --- .github/workflows/publish.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..ba2b4a4 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,32 @@ +name: Publish visualization site + + +on: + release: + types: [published] + push: + branches: + - mlperf-inference-results-scc24 + - main + - docs + +jobs: + + publish: + name: Publish the site + runs-on: ubuntu-latest + + steps: + - name: Checkout repository normally + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.11" + + - name: Init docs site + run: INFERENCE_RESULTS_VERSION=scc24 bash docinit.sh + + - name: Run Mkdocs deploy + run: mkdocs gh-deploy --force