-
Notifications
You must be signed in to change notification settings - Fork 25
37 lines (32 loc) · 950 Bytes
/
build.yml
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
name: Build website
on:
push:
branches: [ main ]
paths-ignore:
- '*.md'
pull_request:
paths-ignore:
- '*.md'
branches: [ main ]
# enable manual workflow trigger
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the site in the jekyll/builder container
uses: actions/[email protected]
with:
# Set always-auth in npmrc
always-auth: false # optional, default is false
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0
node-version: 16.x # optional
# Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.
architecture: x64
- run: |
echo "building systemds website"
sudo gem install jekyll
sudo npm install -g gulp
npm install
gulp build