Skip to content

Commit 586dc43

Browse files
committed
ci: remove retry-action on build step
40e2f99 ("hugo: aggressively cache fetched SVG from kroki") introduced a proper fix to the rather temperamental build step with kroki, so this action is no longer necessary for future CI pipelines. Signed-off-by: Luca Zeuch <[email protected]>
1 parent 40e2f99 commit 586dc43

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/hugo.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,8 @@ jobs:
4545
run: |
4646
[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true
4747
48-
# The website builds are notoriously flaky; specifically, Kroki tends to return
49-
# a "Bad Request" error for no apparent reason. We will retry up to 3 times and then
50-
# assume that the build is actually broken, rather than temperamental.
5148
- name: Build website
52-
uses: nick-fields/retry@v3
53-
with:
54-
retry_on: error
55-
max_attempts: 3
56-
timeout_seconds: 10
57-
command: npm run build
49+
run: npm run build
5850

5951
- name: Setup Pages
6052
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}

0 commit comments

Comments
 (0)