Skip to content

Conversation

@AugustoL
Copy link
Collaborator

This pull request updates and streamlines the deployment workflows for the project, focusing on improving IPFS and preview deployments, cleaning up redundant workflows, and ensuring consistent deployment strategies. The main changes include adding a Netlify PR preview workflow, consolidating and renaming the IPFS deployment process, and updating existing workflows for better branch targeting and output handling.

Workflow Improvements and Additions:

  • Added a new .github/workflows/hash-deploy-build.yml workflow to hash a production build and deploy it to IPFS automatically, it uses pinata SDK/API.
  • Added a new .github/workflows/deploy-pr-preview.yml workflow to automatically deploy PR previews to Netlify and comment the preview URL on pull requests.
  • Updated .github/workflows/deploy-gh-pages.yml to trigger only on pushes to the dev branch instead of main, aligning the deployment with the correct branch.

IPFS Deployment Changes:

  • Removed the old .github/workflows/deploy-ipfs.yml workflow, consolidating IPFS deployment steps into a single, more comprehensive workflow.
  • Renamed .github/workflows/hash-build.yml to .github/workflows/hash-deploy-build.yml and expanded it to include both hash calculation and deployment to IPFS via Pinata, as well as updating a gist with the new hash. [1] [2] [3]
  • Modified .github/actions/deploy-ipfs/index.js to ensure uploads use the CIDv0 format (Qm...) for compatibility.

@AugustoL AugustoL requested a review from MatiasOS November 27, 2025 13:22
@github-actions
Copy link

github-actions bot commented Nov 27, 2025

🚀 Preview: https://pr-47--openscan.netlify.app
📝 Commit: a08d21b2eab8fedd68453819a5be573ea00f1925

Copy link
Collaborator

@MatiasOS MatiasOS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing references to previous(augustol) repo on README.md

@AugustoL AugustoL changed the base branch from main to dev November 27, 2025 20:59
Copy link
Collaborator

@MatiasOS MatiasOS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@AugustoL AugustoL merged commit fbba1b7 into dev Nov 28, 2025
1 check passed
@AugustoL AugustoL deleted the gh-actions-update branch November 28, 2025 15:02
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.

3 participants