Use php 8.1 in composer build step #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
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 |