Revert demo deploy action to Heroku config

This commit is contained in:
Christopher C. Wells 2022-07-24 13:04:15 -07:00
parent abc21728e5
commit 85f20377e5
1 changed files with 7 additions and 9 deletions

View File

@ -50,20 +50,18 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.github_token }} GITHUB_TOKEN: ${{ secrets.github_token }}
REQUIREMENTS: docs/requirements.txt REQUIREMENTS: docs/requirements.txt
# deploy-demo: # deploy:
# 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: http://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
# - name: Install Railway CLI
# run: npm i -g @railway/cli
# - name: Deploy demo # - name: Deploy demo
# run: npx railway up # uses: akhileshns/heroku-deploy@v3.12.12
# env: # with:
# DJANGO_SETTINGS_MODULE: babybuddy.settings.railway # heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
# RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} # heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}
# heroku_email: ${{ secrets.HEROKU_EMAIL }}