Commented out push functionality

This commit is contained in:
Allan Jeremy 2022-06-16 16:36:36 +03:00
parent 2b467d22be
commit caa2474a7a

View file

@ -89,17 +89,17 @@ jobs:
comment-always: true comment-always: true
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Push benchmark results # - name: Push benchmark results
if: github.event_name == 'push' # if: github.event_name == 'push'
run: | # run: |
echo "Pushing benchmark results..." # echo "Pushing benchmark results..."
cd gh-pages # cd gh-pages
git config user.name github-actions # git config user.name github-actions
git config user.email github@users.noreply.github.com # git config user.email github@users.noreply.github.com
git add ./dev/bench/data.json # git add ./dev/bench/data.json
git commit -m "Add benchmarks results for ${{ github.sha }}" # git commit -m "Add benchmarks results for ${{ github.sha }}"
git push # git push
cd .. # cd ..
unix: unix:
name: Run ${{ matrix.bench.title }} (${{ matrix.os}}) name: Run ${{ matrix.bench.title }} (${{ matrix.os}})
@ -189,14 +189,14 @@ jobs:
comment-on-alert: true comment-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Push benchmark results # - name: Push benchmark results
if: github.event_name == 'push' # if: github.event_name == 'push'
run: | # run: |
echo "Pushing benchmark results..." # echo "Pushing benchmark results..."
cd gh-pages # cd gh-pages
git config user.name github-actions # git config user.name github-actions
git config user.email github@users.noreply.github.com # git config user.email github@users.noreply.github.com
git add ./dev/bench/data.json # git add ./dev/bench/data.json
git commit -m "Add benchmarks results for ${{ github.sha }}" # git commit -m "Add benchmarks results for ${{ github.sha }}"
git push # git push
cd .. # cd ..