Skip to content

Use php 8.1 in composer build step with pcntl and imagick #7

Use php 8.1 in composer build step with pcntl and imagick

Use php 8.1 in composer build step with pcntl and imagick #7

Workflow file for this run

on:
push:
branches:
- master
- deploy-strato
jobs:
build:
name: Build website zip
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./app
steps:
- name: Checkout master
uses: actions/checkout@v3
- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: "8.1"
php_extensions: pcntl imagick
version: latest
working_dir: app
# TODO: rename from warmup to build, it's no longer a warmup now.
- name: Run warmup script
run: ${GITHUB_WORKSPACE}/app/scripts/christelmusic warmup
shell: bash
# TODO: remove debug
- name: Debug print all files
run: find ${GITHUB_WORKSPACE}
shell: bash
# TODO: upload to sftp