Skip to content

CakePHP 5

CakePHP 5 #90

Workflow file for this run

name: Build
on: [pull_request]
jobs:
build:
name: Docker Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Env Files
run: |
cp .docker/php.env.development .docker/php.env
cp .docker/mysql.env.development .docker/mysql.env
- name: Pull images
run: docker compose pull
- name: Build
run: docker-compose build --build-arg UID=$(id -u) --build-arg ENV=dev
- name: Start
run: docker compose up -d
- name: Wait for services
run: sleep 10
- name: Check CakePHP Welcome Page
run: curl -f -v -o /dev/null http://localhost:8080
- name: Check NGINX Files
run: curl -f -v -o /dev/null http://localhost:8080/css/home.css