feat: add deployment to production

This commit is contained in:
2024-12-20 20:04:01 +01:00
parent c227b17d7f
commit 5b332a1675
3 changed files with 27 additions and 40 deletions

View File

@@ -20,13 +20,7 @@ jobs:
uses: shivammathur/setup-php@7c0b4c8c8ebed23eca9ec2802474895d105b11bc
with:
php-version: ${{ env.PHP_VERSION }}
- name: Check if composer.json exists
id: check_files
uses: andstor/file-existence-action@87d74d4732ddb824259d80c8a508c0124bf1c673
with:
files: 'composer.json'
- name: Run composer install if composer.json exists
if: steps.check_files.outputs.files_exists == 'true'
- name: Run composer install
run: |
composer validate --no-check-publish && composer install --prefer-dist --no-progress --ignore-platform-reqs
- name: Install ssh agent, rsync