Last active
October 16, 2020 03:19
-
-
Save changhuixu/5933bcf23c45e1d862d32842077c6222 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
jobs: | |
build_icolors: | |
runs-on: ubuntu-16.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build and deploy the Docker image | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
APP_NAME: ${{ 'icolors' }} | |
run: | | |
cd ./ASPNetCoreLabs/HerokuContainer | |
docker login --username=_ --password=$HEROKU_API_KEY registry.heroku.com | |
heroku container:push web -a $APP_NAME | |
heroku container:release web -a $APP_NAME | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment