From fcc205a628e9d5dbaa6eb3904b9b38827fe50c06 Mon Sep 17 00:00:00 2001 From: hoseacodes Date: Mon, 27 May 2024 02:48:31 -0500 Subject: [PATCH] fix(*): update pipeline --- .github/workflows/main.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 41e655b9..86968901 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -3,6 +3,7 @@ on: push: branches: - main + - fix/article jobs: static-scan: runs-on: ubuntu-latest @@ -68,9 +69,10 @@ jobs: - name: Install Dependencies run: npm install --legacy-peer-deps - name: Deploy to Heroku - run: | - git remote add heroku https://git.heroku.com/hoseacodes-dev.git - git push heroku main - env: - HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} + uses: CDNievas/heroku-action@v1.0 + with: + heroku_api_key: ${{ secrets.HEROKU_API_KEY }} + heroku_app_name: hoseacodes-dev + heroku_email: "dominique11h@yahoo.com" + \ No newline at end of file