Skip to content

Commit

Permalink
use SSH_USER when deploying as servers now use 'provision' account
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Jan 23, 2024
1 parent 33aa79f commit 8af5ffd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Wait for images to be available
run: |
while true; do
Expand All @@ -83,10 +83,10 @@ jobs:
fi
sleep 10
done
- name: Deploy to ${{ github.event.inputs.environment }}
env:
SSH_USER: ${{ secrets.SSH_USER }}
DOMAIN: ${{ vars.DOMAIN }}
REPLICAS: ${{ vars.REPLICAS }}
SMTP_PORT: ${{ secrets.SMTP_PORT }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Wait for images to be available
run: |
while true; do
Expand All @@ -90,6 +90,7 @@ jobs:
- name: Deploy to ${{ github.event.inputs.environment }}
id: deploy
env:
SSH_USER: ${{ secrets.SSH_USER }}
DOMAIN: ${{ vars.DOMAIN }}
REPLICAS: ${{ vars.REPLICAS }}
SMTP_PORT: ${{ secrets.SMTP_PORT }}
Expand Down

0 comments on commit 8af5ffd

Please sign in to comment.