From 0cd73316a8f68e115ccdea0ac8040b30c294e1f3 Mon Sep 17 00:00:00 2001 From: Canleskis <91223490+Canleskis@users.noreply.github.com> Date: Sun, 14 Jan 2024 22:11:01 +0100 Subject: [PATCH] Add deployment workflow --- .github/workflows/deploy.yaml | 17 +++++++++++++++++ scripts/deploy_benchmarks.sh | 7 +++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/deploy.yaml create mode 100644 scripts/deploy_benchmarks.sh diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 0000000..4d6b6ef --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,17 @@ +name: Deploy + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + repository: canleskis/particular + path: particular + + - name: Deploy Benchmarks + run: | + bash scripts/deploy_benchmarks.sh diff --git a/scripts/deploy_benchmarks.sh b/scripts/deploy_benchmarks.sh new file mode 100644 index 0000000..3daf2be --- /dev/null +++ b/scripts/deploy_benchmarks.sh @@ -0,0 +1,7 @@ +# Add all the benchmarks to a single json file in a list. + +for file in "particular/particular/benches/results/*.json"; do + echo $file +done + +