File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 88
88
runs-on : ubuntu-latest
89
89
if : github.event_name == 'push' || needs.check.outputs.cacheHit != 'true'
90
90
steps :
91
- - uses : actions/setup-go@v5
92
- with :
93
- go-version : ' 1.18.1'
94
-
95
91
- uses : actions/checkout@v4
96
92
with :
97
93
submodules : recursive
@@ -148,17 +144,13 @@ jobs:
148
144
- run : npm install -g postcss-cli --save-dev
149
145
- run : npm install --verbose
150
146
151
- - run : mkdir ./public ; pwd
152
-
153
147
- name : Build
154
148
env :
155
149
# HUGO_ENVIRONMENT: staging
156
150
# HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
157
151
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
159
153
160
- - run : ls ; ls public
161
-
162
154
- name : Deploy
163
155
uses : peaceiris/actions-gh-pages@v4
164
156
if : github.ref == 'refs/heads/main'
You can’t perform that action at this time.
0 commit comments