generated from rapidez/package-template
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (29 loc) · 889 Bytes
/
demo.yaml
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
37
name: "Generate demo"
on:
push:
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.target_commitish }}
token: ${{ secrets.RAPIDEZ_ACTIONS_ACCOUNT_PAT }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install dependencies
run: composer install
- name: Fix permissions
run: sudo chmod -R 0777 vendor/orchestra/testbench-core/laravel/
- name: Generate demo
run: composer generate-demo
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.event.release.target_commitish }}
commit_message: Update demo
file_pattern: demo/components.html