Merge pull request #7 from lizzypy/participant-list-and-tests-for-hooks #30
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: Deploy | |
on: | |
push: | |
branches: [main] | |
jobs: | |
tests: | |
uses: ./.github/workflows/test.yml # use the callable tests job to run tests | |
deploy: | |
name: deploy | |
needs: [ tests ] | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo 'The triggering workflow succeeded deploying now' | |
- uses: actions/checkout@v2 | |
- uses: akhileshns/[email protected] # This is the action | |
with: | |
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | |
heroku_app_name: "agile-chamber-34431" #Must be unique in Heroku | |
heroku_email: "[email protected]" | |
docker_heroku_process_type: web | |
usedocker: true |