Skip to content

Commit

Permalink
Merge pull request sthlmrb#66 from varvet/master
Browse files Browse the repository at this point in the history
Made deploy work in fork, this ought to work?
  • Loading branch information
soma authored Oct 15, 2024
2 parents 8fe2161 + b5edb92 commit 0692a71
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
name: Deploy

on:
workflow_dispatch:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-22.04
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Deploy to Heroku
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_APP_NAME: ${{ vars.HEROKU_APP_NAME || 'sthlmrb' }}
run: |
git remote add heroku "https://:${HEROKU_API_KEY}@git.heroku.com/sthlmrb.git"
git remote add heroku "https://:${HEROKU_API_KEY}@git.heroku.com/${HEROKU_APP_NAME}.git"
git push heroku master

0 comments on commit 0692a71

Please sign in to comment.