Skip to content

Commit

Permalink
Fix: docker yaml 설정 (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
minchodang authored May 19, 2024
1 parent 4021eee commit cd351d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: SSH and deploy to EC2
run: |
echo "$SSH_KEY" >> key.pem
echo "$SSH_KEY" > key.pem
chmod 600 key.pem
ssh -i key.pem -o StrictHostKeyChecking=no ${USER}@${HOST} << 'EOF'
docker pull ${{ secrets.DOCKER_USERNAME }}/meta-test:latest
Expand All @@ -69,6 +69,7 @@ jobs:
-e GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }} \
-e GOOGLE_CALLBACK_URL=https://www.meta-cognition.site/auth \
-e GOOGLE_API_KEY=${{ secrets.GOOGLE_API_KEY }} \
-p 8080:8080 \
${{ secrets.DOCKER_USERNAME }}/meta-test:latest
docker logs meta-test-container
EOF
Expand Down

0 comments on commit cd351d9

Please sign in to comment.