Skip to content

Commit d31818f

Browse files
committed
Generate website artifacts on GitHub Actions
1 parent af3ddf1 commit d31818f

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Generate website
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Generate the build image
17+
run: docker build -t tmp .
18+
- name: Build the website
19+
run: docker run -v ${{ github.workspace }}/site:/build/_site tmp
20+
- name: Save artifacts
21+
uses: actions/upload-artifact@v4
22+
with:
23+
name: Website
24+
path: ${{ github.workspace }}/site

.github/workflows/jekyll.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)