Skip to content

Commit bd52ee7

Browse files
committed
updated gh-pages to fix env
1 parent c942a1d commit bd52ee7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/gh-pages.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ on:
99
push:
1010
branches: [ master ]
1111

12-
#env:
13-
HUGO_ENV: production
14-
#HUGO_ENV="production"
15-
1612
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1713
jobs:
1814
# This workflow contains a single job called "deploy"
@@ -37,6 +33,12 @@ jobs:
3733
with:
3834
hugo-version: '0.119.0'
3935

36+
# Step 2.5 - Create environment as production
37+
- name: Build with Hugo
38+
run: |
39+
hugo \
40+
--environment production
41+
4042
# Step 3 - Clean and don't fail
4143
- name: Clean public directory
4244
run: rm -rf public

postdoc_Ulrich.pdf

-105 KB
Binary file not shown.

0 commit comments

Comments
 (0)