GitHub Actions
Automate service deployments using GitHub Actions workflows that are automatically generated upon deployment.
Credentials Setup
To enable communication between cloudtype and GitHub, set up authentication credentials.
GitHub Actions Setup
Get Workflow Code
Navigate to the service page and copy the auto-generated GitHub Actions workflow code from the CLI tab.
Create Workflow File
Create a .github/workflows directory in your project’s root and add a yaml file using the code copied from cloudtype.
The .github/workflows folder path is required and fixed, but you can choose any filename for your workflow.
Action Input Parameters
The pre-configured GitHub Actions workflow includes two main actions: the connect action, which configures GitHub repository Deploy Keys for cloudtype’s source access, and the deploy action, which sends deployment settings to cloudtype and triggers the deployment process.
Advanced Usage
The generated workflow file can be customized to fit your service needs.