From ecd733a31af9bf6aaa3bcc9278fd776e7d8ea5c7 Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Thu, 19 Nov 2020 22:42:34 +0300 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a1c13abd..2ec60af3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,20 +3,6 @@ name: Tests on: ['push', 'pull_request'] jobs: - web-deploy: - name: Deploy - runs-on: ubuntu-latest - steps: - - name: 🚚 Get latest code - uses: actions/checkout@v2.3.2 - - - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@4.0.0 - with: - server: vh100.timeweb.ru - port: 21 - username: cx01224_github - password: ${{ secrets.FTP_PASSWORD }} build: runs-on: ${{ matrix.os }} @@ -27,7 +13,8 @@ jobs: dependency-version: [prefer-stable] steps: - - uses: actions/checkout@v2 + - name: Get latest code + uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -50,5 +37,14 @@ jobs: run: composer update --dev --${{ matrix.dependency-version }} --ignore-platform-req=php --no-interaction --no-progress if: "matrix.php >= 8" + - name: Deploy on Test + uses: SamKirkland/FTP-Deploy-Action@4.0.0 + with: + server: vh100.timeweb.ru + port: 21 + username: cx01224_github + password: ${{ secrets.FTP_PASSWORD }} + server-dir: /test.flextype.org/public_html + - name: Run Tests run: ./vendor/bin/pest