diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index e3d54a9..4bca21b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -68,10 +68,16 @@ jobs: deploy: environment: name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + url: ${{ format('https://{0}.github.io/{1}/', github.repository_owner, github.event.repository.name) }} runs-on: ubuntu-latest needs: build steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + continue-on-error: true + + - name: Retry GitHub Pages deploy (transient failure) + id: deployment_retry + if: steps.deployment.outcome == 'failure' + uses: actions/deploy-pages@v4