-
-
Notifications
You must be signed in to change notification settings - Fork 28
32 lines (27 loc) · 873 Bytes
/
Copy pathpublish-website.yml
File metadata and controls
32 lines (27 loc) · 873 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
name: Publish the website
on:
push:
branches: [master]
release:
types: [created]
jobs:
publish-website:
runs-on: ubuntu-latest
name: Build and publish
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
ini-values: "phar.readonly=0"
- name: Build the website
run: make package-devkit website
- name: Publish the website
uses: JamesIves/github-pages-deploy-action@v4
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: build/website