From 27475fb0713b2793481b329f3600edd854daf63c Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Tue, 12 Dec 2023 20:58:24 -0500 Subject: [PATCH] chore: bump muffet from 2.6.3 to 2.9.3 (#3868) --- .github/workflows/website.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 7f8c110336..1484e68ace 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -14,7 +14,7 @@ on: branches: - 'main' - 'release-**' - + concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true @@ -55,16 +55,18 @@ jobs: - name: run http-server env: # renovate: datasource=github-releases depName=raviqqe/muffet - MUFFET_VERSION: 2.6.3 + MUFFET_VERSION: 2.9.3 run: | npm install -g yarn - # http-server is used to serve the website locally as muffet checks it. - yarn global add http-server + # install raviqqe/muffet to check for broken links. - curl -L https://github.com/raviqqe/muffet/releases/download/v${MUFFET_VERSION}/muffet_${MUFFET_VERSION}_Linux_x86_64.tar.gz | tar -xz - yarn install - yarn website:build - http-server runatlantis.io/.vuepress/dist & + curl -Ls https://github.com/raviqqe/muffet/releases/download/v${MUFFET_VERSION}/muffet_linux_amd64.tar.gz | tar -xz + + # build the site + yarn && yarn website:build + + # run http-server for muffet to check the links + npx http-server runatlantis.io/.vuepress/dist & - name: wait until server listened run: curl --retry-delay 1 --retry 30 --retry-all-error http://localhost:8080 @@ -86,4 +88,4 @@ jobs: name: Website Link Check runs-on: ubuntu-latest steps: - - run: 'echo "No build required"' \ No newline at end of file + - run: 'echo "No build required"'