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:
Christopher C. Wells 2022-06-06 06:49:51 -07:00
parent 1a19f05130
commit a75e000af6
1 changed files with 17 additions and 17 deletions

View File

@ -51,20 +51,20 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
REQUIREMENTS: docs/requirements.txt
deploy-demo:
needs: test
runs-on: ubuntu-latest
environment:
name: demo
url: https://demo.baby-buddy.net
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: Install Railway CLI
run: npm i -g @railway/cli
- name: Deploy demo
run: npx railway up
env:
DJANGO_SETTINGS_MODULE: babybuddy.settings.railway
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
# deploy-demo:
# needs: test
# runs-on: ubuntu-latest
# environment:
# name: demo
# url: https://demo.baby-buddy.net
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
# steps:
# - uses: actions/checkout@v3
# - uses: ./.github/actions/setup
# - name: Install Railway CLI
# run: npm i -g @railway/cli
# - name: Deploy demo
# run: npx railway up
# env:
# DJANGO_SETTINGS_MODULE: babybuddy.settings.railway
# RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}