1
0
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:
Mateusz Kwasniewski 2023-03-29 15:11:53 +02:00 committed by GitHub
parent c5d57a51ad
commit a6bc33c04a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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