Skip to content

Commit

Permalink
setup github actions deploying to heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
mozartilize committed Nov 5, 2019
1 parent 24d07a8 commit bc1f31a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on:
release:
types: [published]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Deploy heroku
env:
HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }}
HEROKU_APP_NAME: "xhaka"
run: git push -f https://heroku:[email protected]/$HEROKU_APP_NAME.git origin/master:master

0 comments on commit bc1f31a

Please sign in to comment.