-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eccf54f
commit 40b78a0
Showing
4 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,15 @@ on: | |
- main | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest # Setup an environment to run the action | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build, Push and Release a Docker container to Heroku. | ||
uses: gonuit/heroku-docker-deploy@v1.3.3 | ||
- uses: actions/checkout@v2 # This actions copy the repository on the environment | ||
- name: Install Heroku CLI | ||
run: | | ||
curl https://cli-assets.heroku.com/install.sh | sh | ||
- uses: akhileshns/heroku-deploy@v3.12.12 # This action deploys the content on Heroku | ||
with: | ||
email: ${{ secrets.LIVRO_LIVRE_HEROKU_EMAIL }} | ||
heroku_api_key: ${{ secrets.LIVRO_LIVRE_HEROKU_API_KEY }} | ||
heroku_app_name: "livro-livre-users" | ||
dockerfile_directory: ./ | ||
dockerfile_name: Dockerfile | ||
docker_options: "--no-cache" | ||
process_type: web | ||
heroku_api_key: ${{secrets.LIVRO_LIVRE_HEROKU_API_KEY}} #The Heroku api key we stored on our repo secret | ||
heroku_app_name: "livro-livre-users" #The name of your heroku app - Must be unique in Heroku | ||
heroku_email: "[email protected]" #Your heroku yuser name | ||
usedocker: true |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build: | ||
docker: | ||
web: Dockerfile |