-
Notifications
You must be signed in to change notification settings - Fork 160
Adds script to conveniently deploy any PR to beta #3528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
``` ./scripts/deploy-pr-to-beta <PR_NUMBER> ```
``` ./scripts/deploy-pr-to-beta <PR_NUMBER> ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a convenience script deploy-pr-to-beta that automates the deployment of any pull request to the beta Internet Identity canister. The script fetches the built artifact from GitHub Actions workflow runs, downloads it, and deploys it to the beta canister on the IC mainnet using dfx.
Key Changes
- New bash script that integrates with GitHub API and Actions to fetch PR artifacts
- Automated deployment pipeline using the gh CLI for authentication and artifact retrieval
- Cleanup handler to remove temporary files after execution
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Arshavir Ter-Gabrielyan <[email protected]>
Co-authored-by: Arshavir Ter-Gabrielyan <[email protected]>
Co-authored-by: Arshavir Ter-Gabrielyan <[email protected]>
Co-authored-by: Arshavir Ter-Gabrielyan <[email protected]>
Co-authored-by: Arshavir Ter-Gabrielyan <[email protected]>
Adds script to conveniently deploy any PR to beta, usage: