Skip to content

Commit

Permalink
deploy to heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
soma committed Oct 15, 2024
1 parent 2d5315e commit 6aa3cd2
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy to Heroku

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

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

- 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

0 comments on commit 6aa3cd2

Please sign in to comment.