We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c942a1d commit bd52ee7Copy full SHA for bd52ee7
.github/workflows/gh-pages.yml
@@ -9,10 +9,6 @@ on:
9
push:
10
branches: [ master ]
11
12
-#env:
13
-HUGO_ENV: production
14
-#HUGO_ENV="production"
15
-
16
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17
jobs:
18
# This workflow contains a single job called "deploy"
@@ -37,6 +33,12 @@ jobs:
37
33
with:
38
34
hugo-version: '0.119.0'
39
35
36
+ # Step 2.5 - Create environment as production
+ - name: Build with Hugo
+ run: |
+ hugo \
40
+ --environment production
41
+
42
# Step 3 - Clean and don't fail
43
- name: Clean public directory
44
run: rm -rf public
postdoc_Ulrich.pdf
-105 KB
0 commit comments