workflow update

This commit is contained in:
Henry Whitaker
2021-03-07 09:02:29 +00:00
parent e90619b536
commit db7e307b20

View File

@@ -10,6 +10,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: shivammathur/setup-php@b7d1d9c9a92d8d8463ce36d7f60da34d461724f8
with:
php-version: '7.4'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Copy .env - name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');" run: php -r "file_exists('.env') || copy('.env.example', '.env');"
@@ -25,8 +28,6 @@ jobs:
echo TELEGRAM_CHAT_ID=$TELEGRAM_CHAT_ID >> .env echo TELEGRAM_CHAT_ID=$TELEGRAM_CHAT_ID >> .env
echo HEALTHCHECKS_UUID=$HEALTHCHECKS_UUID >> .env echo HEALTHCHECKS_UUID=$HEALTHCHECKS_UUID >> .env
- name: Install Dependencies - name: Install Dependencies
with:
php-version: '7.4'
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Create Database - name: Create Database
run: | run: |