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 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'
You can’t perform that action at this time.
0 commit comments