From ad65daa67d379596be863a564e055a386b4bf7cd Mon Sep 17 00:00:00 2001 From: Besufekad-HAZ Date: Fri, 19 Jul 2024 00:07:29 +0300 Subject: [PATCH] try deploying to heroku from CI/CD --- .github/workflows/ci.yml | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81d0cc2..5a184bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,29 +34,9 @@ jobs: bin/rails test:prepare bin/rails db:test:prepare bin/rails test - - # implement the remaning later - # deploy: - # needs: build - # runs-on: ubuntu-latest - - # steps: - # - name: Checkout code - # uses: actions/checkout@v2 - - # - name: Set up Ruby - # uses: ruby/setup-ruby@v1 - # with: - # ruby-version: 2.7 - - # - name: Install dependencies - # run: | - # gem install bundler - # bundle install --jobs 4 --retry 3 - - # - name: Deploy to Heroku - # uses: akhileshns/heroku-deploy@v3.12.12 - # with: - # heroku_api_key: ${{ secrets.HEROKU_API_KEY }} - # heroku_app_name: your-heroku-app-name - # heroku_email: your-heroku-email + - name: Deploy to Heroku + uses: akhileshns/heroku-deploy@latest + with: + heroku_api_key: ${{ secrets.HEROKU_API_KEY }} + heroku_app_name: your-heroku-app-name + heroku_email: your-heroku-email