mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
Update reset_heroku.yml
This commit is contained in:
parent
c5d57a51ad
commit
a6bc33c04a
5
.github/workflows/reset_heroku.yml
vendored
5
.github/workflows/reset_heroku.yml
vendored
@ -2,6 +2,9 @@ name: Heroku Postgres Reset
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
# run every day at midnight
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
reset-postgres:
|
reset-postgres:
|
||||||
@ -15,7 +18,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
|
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
|
||||||
heroku_email: ${{ secrets.HEROKU_EMAIL }}
|
heroku_email: ${{ secrets.HEROKU_EMAIL }}
|
||||||
|
justlogin: true
|
||||||
- name: Reset Postgres
|
- name: Reset Postgres
|
||||||
run: |
|
run: |
|
||||||
heroku pg:reset DATABASE --app unleash --confirm unleash
|
heroku pg:reset DATABASE --app unleash --confirm unleash
|
||||||
|
Loading…
Reference in New Issue
Block a user