Skip to content

Commit

Permalink
🩹 fix : ssh key 제거
Browse files Browse the repository at this point in the history
NCP로 변경하며 KEY는 불필요해서 제거했어요
  • Loading branch information
chaeunho1227 authored Oct 2, 2023
1 parent eff632e commit 5468f0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ jobs:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
docker stop festival2023-was
docker rm festival2023-was
docker image rm ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPONAME }}
docker run -d --net festival -v festival-media:/app/media -v festival-static:/app/static -p 8000:8000 --name festival2023-was ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPONAME }}
docker run -d --net festival -v festival-media:/app/media -v festival-static:/app/static -p 8000:8000 --name festival2023-was ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPONAME }}

0 comments on commit 5468f0f

Please sign in to comment.