diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml new file mode 100644 index 0000000..c0f16f3 --- /dev/null +++ b/.github/workflows/report.yml @@ -0,0 +1,18 @@ +name: Publish Report +on: [push, pull_request] + +jobs: + publish: + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Check out + uses: actions/checkout@v4 + + - name: Publish report to GitHub Pages + uses: rayluo/github-pages-overwriter@v1.3 + + with: + source-directory: report + target-branch: gh-pages diff --git a/README.md b/README.md index a32bde4..7776e6c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This is a test suite for benchmarking various Go serialization methods. # Current Serialization Results -http://htmlpreview.github.io/?https://github.com/alecthomas/go_serialization_benchmarks/report/index.html +https://alecthomas.github.io/go_serialization_benchmarks ## Running the benchmarks