Skip to content

Handle blank communities config #776

Handle blank communities config

Handle blank communities config #776

name: Docker production build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup
run: |
cp env.sample .env
cp docker/tess.docker-test.yml config/tess.yml
cp config/secrets.example.yml config/secrets.yml
- name: Build & run
run: docker compose --file docker-compose-prod.yml up --build --detach --wait --wait-timeout 60
continue-on-error: true
- name: Setup
run: docker compose --file docker-compose-prod.yml exec app bundle exec rake db:setup DISABLE_DATABASE_ENVIRONMENT_CHECK=1
continue-on-error: true
- name: Test
run: ruby scripts/check_deployment.rb