Skip to content

Commit 13a8cc4

Browse files
committed
Build the static site on GitHub Actions
1 parent 39ac99b commit 13a8cc4

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build the website
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- uses: actions/checkout@v4
10+
11+
- name: Install dependencies
12+
run: sudo apt-get update && sudo apt-get install -y php-cli wget
13+
14+
- name: Build the static site
15+
run: make 2>&1 | tee build.log
16+
17+
- name: 'Upload build artifacts'
18+
uses: actions/upload-artifact@v4
19+
with:
20+
name: build-artifacts
21+
path: |
22+
*.log
23+
build/

0 commit comments

Comments
 (0)