Skip to content

Commit

Permalink
trying this
Browse files Browse the repository at this point in the history
  • Loading branch information
soma committed Oct 15, 2024
1 parent c5f65c3 commit b1bdc93
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to Heroku
name: Deploy

on:
push:
Expand All @@ -7,23 +7,11 @@ on:

jobs:
build:
runs-on: ubuntu-latest

runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1

- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Deploy to Heroku
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: |
git remote add heroku https://git.heroku.com/sthlmrb.git
git push heroku master
- uses: actions/checkout@v4
- uses: akhileshns/[email protected]
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "sthlmrb"
heroku_email: "[email protected]"

0 comments on commit b1bdc93

Please sign in to comment.