feat: add deployment to production
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user