swanky-cli
swanky-cli copied to clipboard
`init` should generate a simple CI script that compiles and deploys contracts on main branch
Overview (What and Why)
New projects should have an (optional) CI pipeline added to them. Pipeline should compile and deploy the included contracts to swanky-node
How
- [ ] add template for CI pipeline
- [ ] add prompt on init and copy template if confirmed
Definition of Done
- [ ] Above is implemented and merged
- [ ] Docs updated
Open Issues and Blockers
Is this resolved by PR https://github.com/AstarNetwork/swanky-cli/pull/122?
Or something else?
Having deploy scripts written in TS by default must be useful, but don't think we can call it CI.
Idea is TS script for deployment by default in scripts
folder, executable by swanky contract run "filename"
, users can add scripts under that folder.
Use cases are
- contract deploy automation
- automate frequent operation of contracts
- etc
Yes, the PR closes this. Let's move it to "under review" until the docs are updated and it's included in a release.
Scripts are a good idea - can you create a new issue in the New/Idea section so we can discuss for next sprint?