mirror of https://github.com/snachodog/mybuddy.git
Disable demo deploy CI job
Demo deployments will be triggered via Railway.app in order to support PR environment deployments as well.
This commit is contained in:
parent
1a19f05130
commit
a75e000af6
|
@ -51,20 +51,20 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.github_token }}
|
GITHUB_TOKEN: ${{ secrets.github_token }}
|
||||||
REQUIREMENTS: docs/requirements.txt
|
REQUIREMENTS: docs/requirements.txt
|
||||||
deploy-demo:
|
# deploy-demo:
|
||||||
needs: test
|
# needs: test
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
environment:
|
# environment:
|
||||||
name: demo
|
# name: demo
|
||||||
url: https://demo.baby-buddy.net
|
# url: https://demo.baby-buddy.net
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
- uses: ./.github/actions/setup
|
# - uses: ./.github/actions/setup
|
||||||
- name: Install Railway CLI
|
# - name: Install Railway CLI
|
||||||
run: npm i -g @railway/cli
|
# run: npm i -g @railway/cli
|
||||||
- name: Deploy demo
|
# - name: Deploy demo
|
||||||
run: npx railway up
|
# run: npx railway up
|
||||||
env:
|
# env:
|
||||||
DJANGO_SETTINGS_MODULE: babybuddy.settings.railway
|
# DJANGO_SETTINGS_MODULE: babybuddy.settings.railway
|
||||||
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
|
# RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue