Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
miro-ring committed Dec 16, 2023
1 parent 2c7921f commit 5961da1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.idea
.git
.gitignore
.github
.dockerignore
Dockerfile
*.md
*.sh
*.yml
*.yaml
scripts
node_modules
.storybook
.next
**/*.stories.*
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
echo "${{ secrets.EC2_SSH_PRIVATE_KEY }}" > private_key.pem
chmod 400 private_key.pem
ssh -i private_key.pem -o StrictHostKeyChecking=no ubuntu@ec2-3-34-183-188.ap-northeast-2.compute.amazonaws.com "
ssh -i private_key.pem -o StrictHostKeyChecking=no ubuntu@${{ secrets.EC2_PUBLIC_DOMAIN }} "
aws ecr get-login-password --region ap-northeast-2 |
sudo docker login --username AWS --password-stdin ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} &&
if [ \$(sudo docker ps -q -f name=${{ env.IMAGE_NAME }}) ]; then
Expand Down

0 comments on commit 5961da1

Please sign in to comment.