diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d4a86fee..4145e943 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,14 +35,17 @@ 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: Deploy on Test + uses: kevinpainchaud/simple-ftp-deploy-action@v1.2.1 + with: + ftp_host: ${{ secrets.FTP_HOST }} + ftp_username: ${{ secrets.FTP_USERNAME }} + ftp_password: ${{ secrets.FTP_PASSWORD }} + local_source_dir: "." + dist_target_dir: "/test.flextype.org/public_html/" + delete: "true" + only_newer: "true" + ignore_time: "false" - name: Run Tests run: ./vendor/bin/pest