-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (32 loc) · 909 Bytes
/
php.yml
File metadata and controls
43 lines (32 loc) · 909 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
37
38
39
40
41
42
43
name: Build TL Documentation
on:
workflow_dispatch: {}
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
env:
PHP_VERSION: '8.3'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@2.32.0
with:
php-version: ${{ env.PHP_VERSION }}
extensions: mbstring, gmp
coverage: none
- name: Install dependencies
run: composer install --prefer-dist --no-progress --working-dir=docs
- name: Run render
run: php docs/render.php
- name: Remove vendor
run: |
rm -rf docs/vendor
rm -f docs/composer.lock
- name: GitHub Commit & Push
uses: actions-js/push@v1.5
with:
message: "Update Layer & TL Documentation"
github_token: ${{ secrets.GITHUB_TOKEN }}