forked from FOSDEM/website
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 898 Bytes
/
Copy pathwebsite.yml
File metadata and controls
41 lines (33 loc) · 898 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
33
34
35
36
37
38
39
40
name: Build FOSDEM site
on:
push:
branches:
- master
- gha
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Copy test penta/pretalx export
run: |
mv sample/export .
- name: Ensure pdf_grid is set to false in config.yaml
run: |
sed -i '/^pdf_grid/d' config.yaml
echo "pdf_grid: false" >> config.yaml
- name: Run nanoc build in docker
uses: docker://ghcr.io/johanvdw/fosdem-website
with:
entrypoint: /bin/sh
args: -c "bundle install && nanoc"
# Step 5: Upload the 'output' directory as an artifact
- name: Upload output directory
uses: actions/upload-artifact@v4
with:
name: nanoc-output
path: output