Skip to content

Commit

Permalink
feat: add heroku login to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tungkhanhh committed Sep 21, 2024
1 parent 669ba6d commit 037dc09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: |
cd frontend
git init
heroku login -i # Login to Heroku using the API key
heroku git:remote -a jetedge-test
git add .
git add . # You might need to add files to deploy
git commit -m "Deploying Frontend" || echo "No changes to commit"
git push heroku master --force # Use --force for initial deployment
git push heroku main --force # Ensure you're pushing to the correct branch
# - name: Deploy Backend to Heroku
# env:
Expand Down

0 comments on commit 037dc09

Please sign in to comment.