Deploy With Github Actions
Use Github Actions to trigger your Sling Replications
Click here to see the Sling Run Action
package to use in Github Actions.
Set Repository Secrets
We first need to set our connections credentials as repository secrets for Github Actions to access them securely.
For our example, we can create two envronment variable secrets: MY_POSTGRES
and MY_SNOWFLAKE
.
To see examples of setting environment variables for each type of connector, click below:
Create Replication YAML
Let's create a file in folder replications
, calling it postgres-snowflake.yaml
. See here for details on configuring replications.
Create Workflow
Now we can create our Github Actions workflow to run this on demand:
Last updated