mirror of
https://github.com/nicoburns/blessed-rs
synced 2024-11-22 11:43:09 +00:00
Add deploy to heroku action
This commit is contained in:
parent
eb307476e7
commit
4bd85ee5e5
1 changed files with 10 additions and 2 deletions
12
.github/workflows/github-actions.yml
vendored
12
.github/workflows/github-actions.yml
vendored
|
@ -2,11 +2,19 @@ name: Blessed.rs
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Compile release build
|
name: Compile and Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- run: cargo build --release --all-features
|
- name: Compile Release build
|
||||||
|
run: cargo build --release --all-features
|
||||||
|
- name: Deploy to Heroku
|
||||||
|
uses: akhileshns/heroku-deploy@v3.12.12
|
||||||
|
with:
|
||||||
|
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
|
||||||
|
heroku_app_name: "blessed-rs" #Must be unique in Heroku
|
||||||
|
heroku_email: "nico@nicoburns.com"
|
||||||
|
usedocker: true
|
Loading…
Reference in a new issue