-
-
Notifications
You must be signed in to change notification settings - Fork 2
27 lines (24 loc) · 901 Bytes
/
hugo.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
name: Test Hugo Latest Version
on:
pull_request:
push:
jobs:
hugo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
check-latest: true
# -
# name: Install Dependencies
# run: npm install && npm i yarn && yarn && npm install -D @babel/cli @babel/core @babel/preset-env browserslist clipboard cssnano postcss postcss-cli postcss-import postcss-mixins postcss-nested postcss-preset-env postcss-url
- name: Run Hugo
uses: crazy-max/ghaction-hugo@v2
with:
version: latest
extended: true
args: --cleanDestinationDir --gc -D -E -F --minify --panicOnWarning --verbose --config /home/runner/work/simeononsecurity.ch/simeononsecurity.ch/config/language/en/config.toml