-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 855 Bytes
/
deploy.yml
File metadata and controls
36 lines (31 loc) · 855 Bytes
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
36
name: Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: true
- name: Setup PHP 🔧
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: mbstring
coverage: none
tools: composer:v2
- name: Install and Build 🔧
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
npm install
npm run prod
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: build
FOLDER: build_production