Skip to content

Commit

Permalink
Update gh_pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim-voloshchuk authored Feb 3, 2025
1 parent ffb228b commit e032b5f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,24 @@ jobs:
sphinx-apidoc --separate --force --no-headings --module-first -o . ../stable_gnn
sphinx-build -M html . _build
- name: List uploaded artifacts
run: ls -R ./docs/_build/html # Диагностика

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact (manual fix)
uses: actions/upload-artifact@v4
with:
name: github-pages # <-- ВАЖНО: deploy-pages ищет этот артефакт
path: './docs/_build/html'
name: github-pages
path: ./docs/_build/html # <-- Убедитесь, что этот путь корректен!

- name: Debug uploaded artifacts
run: |
echo "Checking uploaded artifacts..."
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit e032b5f

Please sign in to comment.