From b4dcb81017cc36dbf83b1616a486ef0536371034 Mon Sep 17 00:00:00 2001 From: Ryan Lovett Date: Mon, 7 Oct 2024 13:43:00 -0700 Subject: [PATCH] Bump to deploy-pages@v4. Also list uploaded artifacts. --- .github/workflows/deploy.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b15f2b8..64acfa7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,15 +46,18 @@ jobs: uses: actions/upload-pages-artifact@v3 with: path: './_build/html' - artifact_name: 'github-pages' - - name: Wait for artifact finalization - run: sleep 10 + #- name: Wait for artifact finalization + # run: sleep 30 + + - name: List uploaded artifacts + run: | + echo "Listing artifacts..." + curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + "https://api.github.com/repos/${{ github.repository }}/actions/artifacts" - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 - with: - artifact_name: 'github-pages' + uses: actions/deploy-pages@v4 env: ACTIONS_STEP_DEBUG: true