From 47d5ab1033f600be823a260a58ef9e8eb89647f9 Mon Sep 17 00:00:00 2001 From: Mik-TF Date: Fri, 1 Mar 2024 00:08:31 -0500 Subject: [PATCH] added link checker in workflow --- .github/workflows/update_www3.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_www3.yml b/.github/workflows/update_www3.yml index 372e3b81c..b6bc8f58f 100644 --- a/.github/workflows/update_www3.yml +++ b/.github/workflows/update_www3.yml @@ -4,7 +4,7 @@ on: branches: [ 3.10.0 ] jobs: - job_one: + deploy: name: Deploy runs-on: ubuntu-latest steps: @@ -22,3 +22,25 @@ jobs: git pull sed -i "s/https:\/\/www.threefold.io/https:\/\/www3.threefold.io/g" config.toml bash build.sh + + wait: + needs: deploy + name: Wait for Website Update + runs-on: ubuntu-latest + steps: + - name: Wait Period + id: wait-deploy + run: | + echo "Sleeping for 30" + sleep 30 + + checklinks: + needs: wait + name: Check for Broken Links + runs-on: ubuntu-latest + steps: + - name: Check for Broken Links + id: link-report + uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest + with: + args: 'https://www3.threefold.io -w 404' \ No newline at end of file