diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/benchmark.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml new file mode 100644 index 0000000..f8dbc2b --- /dev/null +++ b/.github/workflows/benchmark.yml @@ -0,0 +1,21 @@ +--- +name: Run benchmarks + +on: + workflow_dispatch: + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + fetch-depth: 0 + - run: make docker-benchmark + - run: | + git config user.email 'actions@github.com' + git config user.name 'github-actions' + if git commit -am ':robot: Update README.md'; then + git push origin HEAD:${{ github.ref }} + fi |