Skip to content

Commit 828b876

Browse files
authored
Update cd-dev.yml
1 parent 5021293 commit 828b876

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cd-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ jobs:
6363
with:
6464
host: ${{ secrets.HOST_NAME }}
6565
username: ${{ secrets.USER_NAME }}
66-
password: ${{ secrets.USER_PASSWORD }}
66+
key: ${{ secrets.SSH_KEY }}
6767
port: ${{ secrets.PORT }}
6868
script: |
6969
docker pull ${{ secrets.DOCKER_USER }}/kodaero:latest
7070
chmod +x ./deploy.sh
71-
sudo ./deploy.sh dev
71+
./deploy.sh dev
7272
docker image prune -f

0 commit comments

Comments
 (0)