diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml new file mode 100644 index 0000000..4637b69 --- /dev/null +++ b/.forgejo/workflows/deploy.yaml @@ -0,0 +1,11 @@ +on: [push] +jobs: + test: + runs-on: docker + #container: + # image: debian:stable-slim + steps: + - uses: actions/checkout@v4 + - run: echo "${{secrets.SSH_PRIV_KEY}}" > ./pub_key + - run: chmod 600 ./pub_key + - run: ssh -o StrictHostKeyChecking=no -i ./pub_key job@airflow.local "git -C ~/dags/airflow-dags/ pull" \ No newline at end of file