Skip to content

Commit

Permalink
fix: deploy with latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Seung-o committed Jan 20, 2024
1 parent d7f1c56 commit b6ac245
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ jobs:
- name: Deploy
run: |
VERSION=$(grep -o '"version": "[^"]*' package.json | cut -d '"' -f 4)
echo "VERSION: $VERSION"
echo "${{ secrets.PRIVATE_KEY }}" > private_key.pem
chmod 600 private_key.pem
ssh -o StrictHostKeyChecking=no -i private_key.pem "${{ secrets.HOST }}" << EOF
docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}"
minarvas run "$VERSION"
minarvas run latest
EOF

0 comments on commit b6ac245

Please sign in to comment.