Merge pull request #250 from MaxEtMoritz/MaxEtMoritz/issue44 #92
This file contains 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_ng2pdfjsviewer: | |
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: ${{ 'ng2-pdfjs-viewer' }} | |
run: | | |
cd ./Demo | |
docker login --username=_ --password=$HEROKU_API_KEY registry.heroku.com | |
heroku container:push web -a ng2-pdfjs-viewer | |
heroku container:release web -a ng2-pdfjs-viewer |