-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 1.18 KB
/
laravel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build and Deploy
on:
push:
branches:
- release
jobs:
build:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Enviroment
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Use Node 14.x
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Install Packages
run: composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader
# - name: Build Angular
# run: npm --prefix ./cmp run deploy:ci
- name: Laravel Deploy
uses: ngocquyhoang/laravel-deploy@laravel-custom-port
with:
user: drewpayment
host: choice-marketing-partners.com
path: /home/drewpayment/choice-marketing-partners.com
port: 22
owner: drewpayment
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}