-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (40 loc) · 1.2 KB
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: deploy github-pages
on:
push:
branches:
- master
jobs:
deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout Modin
uses: actions/checkout@v2
with:
repository: modin-project/modin
fetch-depth: 0
- name: Checkout Modin-bench
uses: actions/checkout@v2
with:
fetch-depth: 0
path: modin-bench
- uses: actions/setup-python@v2
with:
python-version: "3.7.x"
architecture: "x64"
- name: install asv
run: pip install git+https://github.com/airspeed-velocity/asv.git@ef016e233cb9a0b19d517135104f49e0a3c380e9
- name: setup git user
run: |
git config --global user.name github-actions
git config --global user.email [email protected]
- name: emulate the desired behavior
run: |
mkdir asv_bench/.asv
cp -r modin-bench/results/ asv_bench/.asv/
git remote rename origin modin-main
git remote add origin https://github.com/modin-project/modin-bench.git
git remote -v
- name: deploy gh-pages
run: |
cd asv_bench
asv gh-pages --rewrite