Skip to content

Commit c6bc7b2

Browse files
committed
Switch to direct download of Hugo
1 parent 571854a commit c6bc7b2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/gh-pages.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,16 @@ jobs:
120120
sudo cp --recursive ${GITHUB_WORKSPACE}/static/data ~/data
121121
fi
122122
123-
# - name: Install Hugo CLI
124-
# run: |
125-
# wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
126-
# && sudo dpkg -i ${{ runner.temp }}/hugo.deb
127-
128-
- name: Setup Hugo
129-
uses: peaceiris/actions-hugo@v3
130-
with:
131-
hugo-version: '0.127.0'
132-
extended: true
123+
- name: Install Hugo CLI
124+
run: |
125+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
126+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
127+
#
128+
# - name: Setup Hugo
129+
# uses: peaceiris/actions-hugo@v3
130+
# with:
131+
# hugo-version: '0.127.0'
132+
# extended: true
133133

134134
# - name: Setup Pages
135135
# id: pages
@@ -147,7 +147,7 @@ jobs:
147147
- name: Build
148148
env:
149149
# HUGO_ENVIRONMENT: staging
150-
# HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
150+
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
151151
TZ: America/New York
152152
run: hugo -d "./public" --cleanDestinationDir --baseURL "https://stumbo.github.io/" -e staging
153153

0 commit comments

Comments
 (0)