Skip to content

RESULTS upload benchmark_flamby results (#44) #101

RESULTS upload benchmark_flamby results (#44)

RESULTS upload benchmark_flamby results (#44) #101

Workflow file for this run

name: publish
on:
workflow_dispatch:
push:
branches:
- main
jobs:
plot_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
env:
# Need to be of format repo:branch.
BENCHOPT_BRANCH: benchopt:main
run: |
pip install -r requirements.txt
USER=${BENCHOPT_BRANCH%:*}
BRANCH=${BENCHOPT_BRANCH##*:}
echo "using branch $USER:$BRANCH"
pip install -U git+https://github.com/$USER/benchOpt@$BRANCH
- name: Render
run: |
make render
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: html # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch