forked from aslan/applicant-site
test CI
This commit is contained in:
parent
96eb449e36
commit
0b9e333be2
|
@ -39,11 +39,29 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Deploy
|
strategy:
|
||||||
run: make deploy
|
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 }}
|
||||||
|
|
||||||
|
- name: PHP Security Checker
|
||||||
|
uses: StephaneBour/actions-php-security-checker@1.1
|
||||||
|
|
||||||
|
- name: Deploy to Server
|
||||||
|
uses: easingthemes/ssh-deploy@main
|
||||||
env:
|
env:
|
||||||
SSH_TOKEN: ${{ secrets.SSH_TOKEN }}
|
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/"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue