Skip to content

Redirect check so redirect to /not-allowed sends the user back to / #6

Redirect check so redirect to /not-allowed sends the user back to /

Redirect check so redirect to /not-allowed sends the user back to / #6

name: "Continuous Integration"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build_sh:
name: "build.sh"
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 7.4
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Install PHP with extensions"
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-version }}
extensions: "gd, intl, json, mbstring, pdo"
coverage: "xdebug"
- name: "Cache dependencies installed with composer"
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: "Install dependencies with composer"
run: composer install --prefer-dist --no-progress
- name: "Run Build Script"
run: sh ./build.sh