Skip to content

Conversation

@solidsnakedev
Copy link
Collaborator

Problem

The GitHub Pages site wasn't updating properly due to workflow dependency issues and artifact handling problems.

Changes

CI Workflow (ci.yml)

  • Added debug output to check what gets built
  • Made artifact upload conditional with warning for missing files
  • Added error handling for artifact download in cache-build job
  • Made caching conditional based on successful artifact download

Docs Workflow (docs.yml)

  • Removed hard dependency on potentially missing build artifacts cache
  • Always run build to ensure latest packages are available
  • Added restore-keys for build artifacts cache as fallback
  • Added comprehensive debug output for docs build process
  • Added validation to ensure docs/out directory exists before upload

Testing

These changes should resolve the GitHub Pages deployment issues by:

  1. Making the CI workflow more robust with artifact handling
  2. Ensuring the docs workflow can build independently
  3. Adding better error detection and debugging output

The workflows will now be more resilient to cache misses and build failures.

- Add debug output to check build artifacts
- Make artifact upload conditional with warning for missing files
- Add error handling for artifact download in cache-build job
- Make caching conditional based on successful artifact download
- Remove dependency on potentially missing build artifacts cache
- Always run build to ensure latest packages are built
- Add restore-keys for build artifacts cache as fallback
- Add comprehensive debug output for docs build
- Ensure docs/out directory exists before upload
@solidsnakedev solidsnakedev merged commit 557b1a2 into main Jul 31, 2025
3 checks passed
@solidsnakedev solidsnakedev deleted the fix/github-pages-deployment branch July 31, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants