Skip to content

cobench

cobench #144

Workflow file for this run

name: cobench
on:
schedule:
- cron: "23 23 * * *"
push:
branches:
- master
permissions:
contents: write
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
cobench:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- 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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
branch: gh-pages
folder: gh-pages
clean: false