Skip to content

Commit

Permalink
Merge pull request #10 from ryanlovett/deploy-pages-v4
Browse files Browse the repository at this point in the history
Bump to deploy-pages@v4.
  • Loading branch information
ryanlovett authored Oct 7, 2024
2 parents d9ee908 + b4dcb81 commit a46e462
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a46e462

Please sign in to comment.