Skip to content

Commit

Permalink
Stop deploying updated image to Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jul 22, 2024
1 parent 2a3b7ba commit 1e735c8
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,41 +78,6 @@ jobs:
outputs:
tags: ${{ steps.meta.outputs.tags }}

deploy:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest

needs: [build, image]

steps:
- name: setup
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_EMAIL: ${{ secrets.HEROKU_EMAIL }}
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}

- name: deploy
run: |
read -r tag <<'EOM'
${{ needs.image.outputs.tags }}
EOM
heroku config:set --app restyled-io "RESTYLER_IMAGE=$tag"
- uses: desiderati/github-action-pushover@v1
if: ${{ always() }}
with:
job-status: ${{ job.status }}
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}

release:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1e735c8

Please sign in to comment.