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

Commit

Permalink
chore: add git checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
amber committed Sep 30, 2024
1 parent 2267ddc commit c0bb85a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ 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'
git pull origin setup-infra2
git clone https://github.com/SE-Row-1/nus-secondhand-market.git
cd nus-secondhand-market
git checkout setup-infra2
echo "POSTGRES_USERNAME=${{ secrets.POSTGRES_USERNAME }}" > .env
echo "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" >> .env
echo "POSTGRES_URL=${{ secrets.POSTGRES_URL }}" >> .env
Expand Down

0 comments on commit c0bb85a

Please sign in to comment.