Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit

Permalink
chore: add git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
amber committed Sep 30, 2024
1 parent fc2e899 commit 2267ddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ jobs:
run: |
echo "${{ secrets.EC2_SSH_KEY }}" > private_key && chmod 600 private_key
ssh -i private_key -o StrictHostKeyChecking=no ${{ secrets.EC2_USER }}@${{ secrets.EC2_PUBLIC_IP }} << 'EOF'
echo "POSTGRES_USERNAME=${{ secrets.POSTGRES_USERNAME }}" >> .env
git pull origin setup-infra2
echo "POSTGRES_USERNAME=${{ secrets.POSTGRES_USERNAME }}" > .env
echo "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" >> .env
echo "POSTGRES_URL=${{ secrets.POSTGRES_URL }}" >> .env
echo "POSTGRES_DB=${{ secrets.POSTGRES_DB }}" >> .env
Expand Down

0 comments on commit 2267ddc

Please sign in to comment.