refactored to use right staging url #21
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 Staging | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
git config --global user.email "andressacruzn@gmail.com" | |
git config --global user.name "Andressa Cruz" | |
git add -A | |
- uses: akhileshns/heroku-deploy@v3.12.14 # This is the action | |
with: | |
heroku_api_key: ${{ secrets.HEROKU_API_KEY }} | |
heroku_app_name: ${{ secrets.HEROKUAAPP_STAGING }} #Must be unique in Heroku | |
heroku_email: ${{ secrets.EMAIL }} | |
# usedocker: true | |
healthcheck: "https://andressacruz-staging-287e09477145.herokuapp.com/" |