From a1fc40405a592b2508747c4ad40f6f9bc87414ac Mon Sep 17 00:00:00 2001 From: Yuan Tang Date: Wed, 12 Jul 2023 22:33:20 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20Switch=20to=20use=20=E2=80=9Cwith?= =?UTF-8?q?=E2=80=9D=20in=20gh-pages.yaml=20=20(#11347)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yuan Tang --- .github/workflows/gh-pages.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index f49b481d773d..0d4b55a59465 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -41,7 +41,7 @@ jobs: if-no-files-found: error - uses: peaceiris/actions-gh-pages@v3 if: github.repository == 'argoproj/argo-workflows' && github.ref == 'refs/heads/master' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PUBLISH_BRANCH: gh-pages - PUBLISH_DIR: ./site + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: ./site