GitHub Actions
Automate service deployments using GitHub Actions workflows that are automatically generated upon deployment.
Credentials Setup
To enable communication between ale 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.
The endpoint automatically changes depending on the environment where ale
is installed.
Create Workflow File
Create a .github/workflows directory in your project’s root and add a yaml file using the code copied from
ale
.
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
ale
’s source access, and the deploy action, which sends deployment settings toale
and triggers the deployment process.
Advanced Usage
The generated workflow file can be customized to fit your service needs.