Skip to content

Commit 571854a

Browse files
committed
Cleanup
1 parent c2b9140 commit 571854a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ jobs:
8888
runs-on: ubuntu-latest
8989
if: github.event_name == 'push' || needs.check.outputs.cacheHit != 'true'
9090
steps:
91-
- uses: actions/setup-go@v5
92-
with:
93-
go-version: '1.18.1'
94-
9591
- uses: actions/checkout@v4
9692
with:
9793
submodules: recursive
@@ -148,17 +144,13 @@ jobs:
148144
- run: npm install -g postcss-cli --save-dev
149145
- run: npm install --verbose
150146

151-
- run: mkdir ./public ; pwd
152-
153147
- name: Build
154148
env:
155149
# HUGO_ENVIRONMENT: staging
156150
# HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
157151
TZ: America/New York
158-
run: hugo -d "./public" --baseURL "https://stumbo.github.io/" -e staging
152+
run: hugo -d "./public" --cleanDestinationDir --baseURL "https://stumbo.github.io/" -e staging
159153

160-
- run: ls ; ls public
161-
162154
- name: Deploy
163155
uses: peaceiris/actions-gh-pages@v4
164156
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)