Skip to content

Commit

Permalink
try deploying to heroku from CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Besufekad-HAZ committed Jul 18, 2024
1 parent 5d8d701 commit ad65daa
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ad65daa

Please sign in to comment.