Implement basic version of CI/CD
The CI/CD should consist of:
- running tests with truffle
- on pushed tag, enable a manual build + deploy task
- the task run
truffle migrate --reset --network mumbai
, copy build outputs tosrc/contracts
, runnpm run build
and publish the frontend to gitlab pages. - the deployment account should be defined from Gitlab CI variables (secret)
Next step would be to learn how to properly handle data migration in blockchain development.
Edited by celeborn2bealive