This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
Merge pull request #38 from bloodnighttw/renovate/org.postgresql-post… #36
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 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Heroku login credentials | |
run: | | |
cat > ~/.netrc <<EOF | |
machine api.heroku.com | |
login $HEROKU_EMAIL | |
password $HEROKU_API_KEY | |
machine git.heroku.com | |
login $HEROKU_EMAIL | |
password $HEROKU_API_KEY | |
EOF | |
env: | |
HEROKU_API_KEY: ${{ secrets.heroku_api_key }} | |
HEROKU_EMAIL: ${{ secrets.email }} | |
- name: Add Heroku remote | |
run: heroku git:remote --app $HEROKU_APP_NAME | |
env: | |
HEROKU_APP_NAME: "whateverb0t" | |
- name: Push to Heroku | |
run: git push heroku HEAD:master -f |