and again #69
Workflow file for this run
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: 'peak-performance' #set whatevername you want to your github job | |
on: | |
push: | |
branches: HW-166-add-tests-to-docker-container # set the events you would like to trigger this job | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Print Working Directory and List Files | |
run: | | |
echo "Current Directory: $(pwd)" | |
echo "Listing all files in $(pwd):" | |
ls -R | |
- name: Build, Push and Deploy to Heroku #set the whatever name you want to this step | |
id: heroku | |
uses: snithyanantham/[email protected] # use the latest version of the action | |
with: | |
app_name: "peak-performace" | |
email: ${{ secrets.HEROKU_EMAIL }} # your heroku email | |
api_key: ${{ secrets.HEROKU_API_KEY }} # your heroku api key | |
docker_compose_file: 'code/docker-compose-production.yml' # set the path to the folder where the docker-compose file is located | |
heroku_apps: '[{"imagename":"api-production","appname":"peak-performace","apptype":"web"},{"imagename":"client-production","appname":"peak-performance","apptype":"web"}]' # List of Docker Image name, Heroku app and Heroku app type |