Skip to content

Commit 9e569a4

Browse files
committed
ci: create workflow to build site
Signed-off-by: Ruby Iris Juric <[email protected]>
1 parent 45e13c2 commit 9e569a4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build static site
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-24.04
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
bundler-cache: true
19+
20+
- name: Build site
21+
run: bundle exec jekyll build
22+
env:
23+
URL: http://developer.rebble.io
24+
HTTPS_URL: https://developer.rebble.io
25+
RACK_ENV: production
26+
SKIP_DOCS: true # TODO: setup docs generation
27+
28+
- name: Upload artifact
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: site-build
32+
path: __public__

0 commit comments

Comments
 (0)