1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00

reset heroku GH action (#3420)

This commit is contained in:
Mateusz Kwasniewski 2023-03-29 14:51:45 +02:00 committed by GitHub
parent dc34fe1944
commit e62a529331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
.github/workflows/reset_heroku.yml vendored Normal file
View File

@ -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