Skip to content

cobench

cobench #692

Workflow file for this run

---
name: cobench
on:
schedule:
- cron: "23 23 * * *"
push:
branches:
- master
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
cobench:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- run: gem install cobench
- run: cobench --verbose --token ${{ secrets.TOKEN }} --to gh-pages
- run: mkdir -p gh-pages/$(date +'%Y/%m/%d')
- run: cp gh-pages/index.xml gh-pages/$(date +'%Y/%m/%d')/index.xml
- uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: gh-pages
clean: false