Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created May 23, 2023 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anna-geller/3d445f460b1b5f1c4741cdd00c08a13d to your computer and use it in GitHub Desktop.
Save anna-geller/3d445f460b1b5f1c4741cdd00c08a13d to your computer and use it in GitHub Desktop.
id: gitPython
namespace: prod
tasks:
- id: GitHub
type: io.kestra.core.tasks.flows.Worker
tasks:
- id: cloneRepository
type: io.kestra.plugin.git.Clone
description: password is only required for private repositories
url: https://github.com/anna-geller/kestra-flows
branch: main
username: anna-geller
password: "{{envs.github_access_token}}"
- id: pythonScript
type: io.kestra.core.tasks.scripts.Python
commands:
- ./bin/python flows/etl_script.py
requirements:
- requests
- pandas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment