Skip to content

Commit

Permalink
added ssh user
Browse files Browse the repository at this point in the history
  • Loading branch information
Foroxon committed Dec 11, 2024
1 parent 6b07f4b commit 1d66f24
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
uses: appleboy/[email protected]
with:
host: ${{ secrets.GOOGLE_CLOUD_IP }}
username: ${{ secrets.GOOGLE_CLOUD_SSH_USER }}
key: ${{ secrets.GOOGLE_PRIVATE_SSH }}
script: |
cd ukraine_alarm_map/deploy/
Expand All @@ -113,6 +114,7 @@ jobs:
uses: appleboy/[email protected]
with:
host: ${{ secrets.GOOGLE_CLOUD_IP }}
username: ${{ secrets.GOOGLE_CLOUD_SSH_USER }}
key: ${{ secrets.GOOGLE_PRIVATE_SSH }}
script: |
cd ukraine_alarm_map/deploy/
Expand All @@ -125,6 +127,7 @@ jobs:
uses: appleboy/[email protected]
with:
host: ${{ secrets.GOOGLE_CLOUD_IP }}
username: ${{ secrets.GOOGLE_CLOUD_SSH_USER }}
key: ${{ secrets.GOOGLE_PRIVATE_SSH }}
script: |
cd ukraine_alarm_map/deploy/
Expand All @@ -137,6 +140,7 @@ jobs:
uses: appleboy/[email protected]
with:
host: ${{ secrets.GOOGLE_CLOUD_IP }}
username: ${{ secrets.GOOGLE_CLOUD_SSH_USER }}
key: ${{ secrets.GOOGLE_PRIVATE_SSH }}
script: |
cd ukraine_alarm_map/deploy/
Expand All @@ -149,6 +153,7 @@ jobs:
uses: appleboy/[email protected]
with:
host: ${{ secrets.GOOGLE_CLOUD_IP }}
username: ${{ secrets.GOOGLE_CLOUD_SSH_USER }}
key: ${{ secrets.GOOGLE_PRIVATE_SSH }}
script: |
cd ukraine_alarm_map/deploy/
Expand All @@ -159,8 +164,8 @@ jobs:
- name: Clear unused images
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_SSH_USER }}
password: ${{ secrets.SERVER_SSH_PASSWORD }}
host: ${{ secrets.GOOGLE_CLOUD_IP }}
username: ${{ secrets.GOOGLE_CLOUD_SSH_USER }}
key: ${{ secrets.GOOGLE_PRIVATE_SSH }}
script: |
docker image prune -f

0 comments on commit 1d66f24

Please sign in to comment.