From 6f6a128587e26d1e7e0c3826651db25db5f0e9a0 Mon Sep 17 00:00:00 2001
From: Germain Souquet <germain@souquet.com>
Date: Tue, 15 Jun 2021 09:27:44 +0100
Subject: [PATCH] try auto push

---
 .github/workflows/develop.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml
index fe4061d268..83dc884af4 100644
--- a/.github/workflows/develop.yml
+++ b/.github/workflows/develop.yml
@@ -30,8 +30,8 @@ jobs:
               with:
                 tool: 'jsperformanceentry'
                 output-file-path: test/end-to-end-tests/performance-entries.json
-                external-data-json-path: ./cache/benchmark-data-template.json
                 fail-on-alert: false
-            - name: Push benchmark result
-            #   if: ${{ github.ref == 'refs/heads/develop' }}
-              run: git push 'https://RiotRobot:${{ secrets.DEPLOY_GH_PAGES }}@github.com/matrix-org/matrix-react-sdk.git' gh-pages:gh-pages
+                # Personal access token to deploy GitHub Pages branch
+                github-token: ${{ secrets.DEPLOY_GH_PAGES }}
+                # Push and deploy GitHub pages branch automatically
+                auto-push: true