Skip to content

Commit

Permalink
reset heroku GH action (#3420)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Mar 29, 2023
1 parent dc34fe1 commit e62a529
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/reset_heroku.yml
@@ -0,0 +1,21 @@
name: Heroku Postgres Reset

on:
workflow_dispatch:

jobs:
reset-postgres:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Heroku CLI
uses: akhileshns/heroku-deploy@v3.12.12
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
email: ${{ secrets.HEROKU_EMAIL }}

- name: Reset Postgres
run: |
heroku pg:reset DATABASE --app unleash --confirm unleash

0 comments on commit e62a529

Please sign in to comment.