We’ll use the same process as in previous demos to add a new service to our existing aggregate repository:
- Go to the
Actionstab of the new repository on GitHub.
Add service modulefrom the list of available workflows on the left.
- Click the
Run workflow ▾button and enter the service name as
Note: Service names must be lowercase. Only alphanumerics and dashes are supported.
ProTip: End your service names with
-serviceto make it clear the module contains a microservice.
- Click the Run workflow button below the service name.
This will kick off a workflow that adds the new module, containing the boilerplate code for a new service, though the page may need refreshing to view it.
ProTip: This workflow run will commit the new service’s code directly to the
This is incompatible with GitHub branch protect rules .
See the Aggregate template’s docs
for alternatives compatible with branch protection.
Wait for the workflow to complete and pull down the changes to your local machine by running: