Skip to content

Automate git pull on push

Description

Setup CI/CD for Gitlab (and possibly Github) for project base to automatically trigger git_pull on push/merge to master.

Security must be dealt with, as the endpoint triggering the workflow would need to be (at least partially) exposed.

What would this work like

  • user pushes to master / merges MR
  • CI/CD verifies configuration and rejects the push on failure
  • on verification success, webhook is triggered on project's vm-airflow to pull latest refs