Skip to content

Commit

Permalink
EOF 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
yeolyi committed Aug 20, 2023
1 parent ca0622c commit 1b1b550
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
echo "${{secrets.SSH_KEY}}" > deploy_key
chmod 600 ./deploy_key
- name: 'Remote server commands'
- name: ''
uses: 'nick-fields/retry@v2'
with:
timeout_minutes: 1
Expand All @@ -50,8 +50,8 @@ jobs:
retry_on: 'error'
command: |
ssh -T -i ./deploy_key -p 22 ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}
docker stop csereal_nextjs_image
docker stop csereal_nextjs_image
docker rm csereal_nextjs_image
docker pull ghcr.io/wafflestudio/csereal_nextjs_image:latest
docker container rm nextjs_image
docker run -d -p 3000:3000 --name csereal_nextjs_image ghcr.io/wafflestudio/csereal-front/nextjs_image
EOF

0 comments on commit 1b1b550

Please sign in to comment.