We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa213e2 commit 2c7285fCopy full SHA for 2c7285f
.github/workflows/benchmark.yml
@@ -40,7 +40,19 @@ jobs:
40
with:
41
name: benchmark-results
42
path: build/bin/build/bin/${{ env.BUILD_CONFIG }}/benchmark_result.json
43
-
+
44
+ - name: Create gh-pages branch if not exists
45
+ run: |
46
+ git fetch origin gh-pages || (
47
+ git checkout --orphan gh-pages &&
48
+ git rm -rf . &&
49
+ git commit --allow-empty -m "Initial gh-pages branch" &&
50
+ git push origin gh-pages
51
+ )
52
+ shell: bash
53
+ env:
54
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55
56
- name: Store benchmark result
57
uses: benchmark-action/github-action-benchmark@v1
58
0 commit comments