mirror of
https://github.com/flextype/flextype.git
synced 2025-08-18 19:01:40 +02:00
feat(tests): restore deploy on test action #477
This commit is contained in:
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@@ -4,7 +4,7 @@ on: ['push', 'pull_request']
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -37,6 +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
|
||||
|
Reference in New Issue
Block a user