diff --git a/.github/workflows/database_dev.yaml b/.github/workflows/database_dev.yaml index fccae464..3c2570ae 100644 --- a/.github/workflows/database_dev.yaml +++ b/.github/workflows/database_dev.yaml @@ -44,6 +44,7 @@ jobs: with: host: ${{secrets.SSH_HOST_DEV}} username: ${{secrets.SSH_USER}} + port: ${{secrets.SSH_PORT_DEV}} key: ${{secrets.SSH_KEY}} script: | cd ~/database diff --git a/.github/workflows/deploy_dev.yaml b/.github/workflows/deploy_dev.yaml index 5331bd5e..c7ba8117 100644 --- a/.github/workflows/deploy_dev.yaml +++ b/.github/workflows/deploy_dev.yaml @@ -63,20 +63,22 @@ jobs: # echo "SLACK_TOKEN=${{secrets.SLACK_TOKEN}}" >> .env # echo "SLACK_CHANNEL=${{secrets.SLACK_CHANNEL}}" >> .env - # - name: SCP Command to Transfer Files - # uses: appleboy/scp-action@v0.1.7 - # with: - # host: ${{secrets.SSH_HOST_DEV}} - # username: ${{secrets.SSH_USER}} - # key: ${{secrets.SSH_KEY}} - # source: "docker-compose-backend.yml, .env" - # target: "~/app" - # overwrite: true + - name: SCP Command to Transfer Files + uses: appleboy/scp-action@v0.1.7 + with: + host: ${{secrets.SSH_HOST_DEV}} + username: ${{secrets.SSH_USER}} + key: ${{secrets.SSH_KEY}} + source: "docker-compose-backend.yml, .env" + target: "~/app" + overwrite: true + - name: SSH Remote Commands uses: appleboy/ssh-action@v1.0.0 with: host: ${{secrets.SSH_HOST_DEV}} username: ${{secrets.SSH_USER}} + port: ${{secrets.SSH_PORT_DEV}} key: ${{secrets.SSH_KEY}} script: | cd ~/app diff --git a/.github/workflows/proxy_dev.yaml b/.github/workflows/proxy_dev.yaml index 77e833d5..80a169bb 100644 --- a/.github/workflows/proxy_dev.yaml +++ b/.github/workflows/proxy_dev.yaml @@ -39,6 +39,7 @@ jobs: with: host: ${{secrets.SSH_HOST_DEV}} username: ${{secrets.SSH_USER}} + port: ${{secrets.SSH_PORT_DEV}} key: ${{secrets.SSH_KEY}} script: | cd ~/proxy