Skip to content

Change to /app in deploy pipeline #2

Change to /app in deploy pipeline

Change to /app in deploy pipeline #2

Workflow file for this run

on:
push:
branches:
- master
- deploy-strato
jobs:
build:
name: Build website zip
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v3
- name: Change directory to /app
run: cd ${GITHUB_WORKSPACE}/app
shell: bash
# TODO: maybe install imagick
- name: Install dependencies
uses: php-actions/composer@v4
with:
composer_version: 1
php_version: 8.0
#ssh_key: ${{ secrets.SSH_KEY }}
#ssh_key_pub: ${{ secrets.SSH_KEY_PUB }}
# 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