Skip to content

Merge pull request #139 from clue/dependabot/composer/twig/twig-2.16.1 #145

Merge pull request #139 from clue/dependabot/composer/twig/twig-2.16.1

Merge pull request #139 from clue/dependabot/composer/twig/twig-2.16.1 #145

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
Deploy:
runs-on: ubuntu-22.04
strategy:
matrix:
php:
- 8.1
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- run: make
- run: make served
- run: bash tests/await.bash http://clue.localhost/
- run: make test
- run: git config --global user.name "GitHub Actions" && git config --global user.email "[email protected]"
- run: git config --global url."https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
- run: make deploy
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}