The templated version of our Easy ETL example.
Configuring the repo:
- Click
Use this Template
, and selectCreate a new repository
. - Fill out the repository information and click
Create Repository
. - Add write permissions to Actions. This enables the pipeline to check the files back into the repo. To do so, click on the repo Settings. Select
Actions
andGeneral
. Scroll down toWorkflow permissions
, and selectRead and write permissions
. ClickSave
. - Follow the instructions at XetData integration for GitHub and install the app to your new repo
- Edit
.github/workflows/etl-action.yml
and remove the comments from the schedule section (lines 8-10). - In
.github/workflows/etl-action.yml
, setAUTOMATION_USERNAME
to a good username andAUTOMATION_EMAIL
to a good email address (lines 5 and 6).
Making it your own:
- Edit
src/pipeline.py
and replace the code inextract()
with your own ETL code. - Make sure to save your requirements with
pip freeze > requirements.txt
- Commit and push your changes.
At the 21st minute of the next hour, your ETL pipeline will be run. Couldn't be easier!