forked from aslan/applicant-site
delete deploy from CI
This commit is contained in:
parent
4b023e9fdc
commit
7d26f1ace8
|
@ -59,35 +59,3 @@ jobs:
|
||||||
|
|
||||||
- name: Check tests
|
- name: Check tests
|
||||||
run: make test
|
run: make test
|
||||||
|
|
||||||
deploy:
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
php-versions: [ '8.1' ]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up PHP ${{ matrix.php-versions }}
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-versions }}
|
|
||||||
github_token: ${{ secrets.COMPOSER_GITHUB_TOKEN }}
|
|
||||||
tools: composer, phpcs, phpstan, phpunit, symfony
|
|
||||||
|
|
||||||
- name: PHP Security Checker
|
|
||||||
uses: StephaneBour/actions-php-security-checker@1.1
|
|
||||||
|
|
||||||
- name: Deploy to Server
|
|
||||||
uses: easingthemes/ssh-deploy@main
|
|
||||||
env:
|
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
||||||
ARGS: "-rlgoDzvc -i --delete"
|
|
||||||
SOURCE: "dist/"
|
|
||||||
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
|
|
||||||
REMOTE_USER: ${{ secrets.REMOTE_USER }}
|
|
||||||
TARGET: ${{ secrets.REMOTE_TARGET }}
|
|
||||||
EXCLUDE: "/dist/, /node_modules/"
|
|
||||||
|
|
Loading…
Reference in New Issue