2022-05-22 22:41:06 +00:00
|
|
|
name: Demo reset
|
|
|
|
on:
|
2022-06-02 15:56:55 +00:00
|
|
|
# schedule:
|
|
|
|
# - cron: "0 * * * *"
|
2022-05-23 23:25:25 +00:00
|
|
|
workflow_dispatch:
|
2022-05-22 22:41:06 +00:00
|
|
|
jobs:
|
|
|
|
reset:
|
|
|
|
name: Reset
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Reset demo database
|
|
|
|
uses: appleboy/ssh-action@master
|
|
|
|
with:
|
|
|
|
host: ${{ secrets.RENDER_COM_DEMO_HOST }}
|
|
|
|
username: ${{ secrets.RENDER_COM_DEMO_USER }}
|
|
|
|
key: ${{ secrets.RENDER_COM_DEMO_KEY }}
|
|
|
|
script: python manage.py reset --no-input
|