-
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (32 loc) · 847 Bytes
/
ci.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
38
39
40
41
42
name: Build static website and deploy it
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node version
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install project dependencies
run: npm install
- name: Install Playwright browsers
run: npx playwright install
- name: Generate website
run: npm start
- name: Configure CNAME
run: echo webrtc-available-stats-properties.ludovicm67.fr > public/CNAME
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: public