From 5590cd45c3ea9321e4bdb2bfbef561621dfe6153 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Mon, 11 Mar 2024 13:14:58 +0100 Subject: [PATCH] fix: try retry action --- .github/workflows/playwright.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index b063450a37e..3521bf09c03 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -117,15 +117,16 @@ jobs: run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT id: extract_branch - - name: Deploy PR - uses: peaceiris/actions-gh-pages@v3 + - uses: Wandalen/wretry.action@master if: github.event_name == 'pull_request' with: - personal_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} - external_repository: leather-wallet/playwright-reports - publish_branch: main - publish_dir: ./playwright-report - destination_dir: ${{ steps.extract_branch.outputs.branch }} + action: peaceiris/actions-gh-pages@v3 + with: | + personal_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} + external_repository: leather-wallet/playwright-reports + publish_branch: main + publish_dir: ./playwright-report + destination_dir: ${{ steps.extract_branch.outputs.branch }} - name: Deploy specs.leather.io uses: peaceiris/actions-gh-pages@v3