Skip to content

Merge pull request #682 from MTES-MCT/feat-ocsge-octobre-2024 #58

Merge pull request #682 from MTES-MCT/feat-ocsge-octobre-2024

Merge pull request #682 from MTES-MCT/feat-ocsge-octobre-2024 #58

name: Deploy to production Airflow
on:
push:
branches:
- "staging"
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: executing remote ssh git pull
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.AIRFLOW_SSH_HOST }}
username: ${{ secrets.AIRFLOW_SSH_USER }}
key: ${{ secrets.AIRFLOW_SSH_KEY }}
port: ${{ secrets.AIRFLOW_SSH_PORT }}
script: cd ~/sparte && git pull