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: 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 }}