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:
parent
dc34fe1944
commit
e62a529331
21
.github/workflows/reset_heroku.yml
vendored
Normal file
21
.github/workflows/reset_heroku.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user