Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HyejiYu committed Nov 5, 2024
2 parents 6921c76 + b69f291 commit 7d17712
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/consumer-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
mkdir -p ~/.ssh
echo "${GCE_SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./messagequeue/consumer/HomePlus_consumer.py ${GCE_USER}@${GCE_IP}:${GCE_USER_HOME}/HomePlus_consumer.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./messagequeue/consumer/Oasis_consumer.py ${GCE_USER}@${GCE_IP}:${GCE_USER_HOME}/Oasis_consumer.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./messagequeue/consumer/Posty_consumer.py ${GCE_USER}@${GCE_IP}:${GCE_USER_HOME}/Posty_consumer.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" "$GITHUB_WORKSPACE/messagequeue/consumer/HomePlus_consumer.py" ${GCE_USER}@${GCE_IP}:${GCE_USER_HOME}/HomePlus_consumer.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" "$GITHUB_WORKSPACE/messagequeue/consumer/Oasis_consumer.py" ${GCE_USER}@${GCE_IP}:${GCE_USER_HOME}/Oasis_consumer.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" "$GITHUB_WORKSPACE/messagequeue/consumer/Posty_consumer.py" ${GCE_USER}@${GCE_IP}:${GCE_USER_HOME}/Posty_consumer.py
8 changes: 4 additions & 4 deletions .github/workflows/dag-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
mkdir -p ~/.ssh
echo "${GCE_SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa # SSH 키 권한 설정
rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./airflow/HomePlus_dag.py ${GCE_USER}@${GCE_IP}:${GCE_AIRFLOW_HOME}/dags/HomePlus_dag.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./airflow/Oasis_dag.py ${GCE_USER}@${GCE_IP}:${GCE_AIRFLOW_HOME}/dags/Oasis_dag.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./airflow/requirements/modules.py ${GCE_USER}@${GCE_IP}:${GCE_AIRFLOW_HOME}/dags/requirements/modules.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./airflow/requirements/packages.py ${GCE_USER}@${GCE_IP}:${GCE_AIRFLOW_HOME}/dags/requirements/packages.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" "$GITHUB_WORKSPACE/airflow/HomePlus_dag.py" ${GCE_USER}@${GCE_IP}:${GCE_AIRFLOW_HOME}/dags/HomePlus_dag.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" "$GITHUB_WORKSPACE/airflow/Oasis_dag.py" ${GCE_USER}@${GCE_IP}:${GCE_AIRFLOW_HOME}/dags/Oasis_dag.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" "$GITHUB_WORKSPACE/airflow/requirements/modules.py" ${GCE_USER}@${GCE_IP}:${GCE_AIRFLOW_HOME}/dags/requirements/modules.py
rsync -avz -e "ssh -o StrictHostKeyChecking=no" "$GITHUB_WORKSPACE/airflow/requirements/packages.py" ${GCE_USER}@${GCE_IP}:${GCE_AIRFLOW_HOME}/dags/requirements/packages.py

0 comments on commit 7d17712

Please sign in to comment.