Skip to content

Commit 6dd9262

Browse files
authored
Merge pull request #48 from stumbo/fixRobots.txt
Change environment setup for hugo
2 parents f416cf7 + a7f0f5d commit 6dd9262

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ jobs:
149149

150150
- name: Build
151151
env:
152-
HUGO_ENVIRONMENT: staging
152+
# HUGO_ENVIRONMENT: staging
153153
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
154154
TZ: America/New York
155-
run: hugo --gc
155+
run: hugo --gc -e staging
156156

157157
- name: Upload artifact
158158
uses: actions/upload-pages-artifact@v3
@@ -166,6 +166,7 @@ jobs:
166166
url: ${{ steps.deployment.outputs.page_url }}
167167
runs-on: ubuntu-latest
168168
needs: build
169+
169170
steps:
170171
- name: Deploy to GitHub Pages
171172
id: deployment

0 commit comments

Comments
 (0)