mirror of https://github.com/snachodog/mybuddy.git
Remove demo reset workflow
This commit is contained in:
parent
68bbe242a6
commit
abc21728e5
|
@ -1,22 +0,0 @@
|
||||||
name: Demo reset
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 */3 * * *"
|
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
|
||||||
reset:
|
|
||||||
name: Reset
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment:
|
|
||||||
name: demo
|
|
||||||
url: https://demo.baby-buddy.net
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: ./.github/actions/setup
|
|
||||||
- name: Install Railway CLI
|
|
||||||
run: npm install --location=global @railway/cli
|
|
||||||
- name: Reset demo database
|
|
||||||
run: npx railway run pipenv run python manage.py reset --no-input
|
|
||||||
env:
|
|
||||||
DJANGO_SETTINGS_MODULE: babybuddy.settings.railway
|
|
||||||
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
|
|
Loading…
Reference in New Issue