-
Notifications
You must be signed in to change notification settings - Fork 74
33 lines (27 loc) · 1.36 KB
/
links.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Links
on:
deployment_status
jobs:
check-guides-links:
uses: FuelLabs/github-actions/.github/workflows/next-links.yml@master
with:
status: ${{ github.event.deployment_status.state }}
preview-url: ${{ github.event.deployment_status.environment_url }}
folder-path: docs/guides/docs
final-link-check:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Set up env
run: |
python -m venv env
source env/bin/activate
- name: Install dependencies
run: |
pip install linkchecker
- name: Check All Links
run: |
linkchecker --check-extern --no-warnings --ignore-url=crates.io --ignore-url=127.0.0.1 --ignore-url=block-explorer-v2 --ignore-url=localhost: --ignore-url=infura.io --ignore-url=chainsecurity.com --ignore-url=-indexer.fuel.network --ignore-url=fuel.network/graphql --ignore-url=testnet.fuel.network/v1/graphql --ignore-url=faucet-beta-5.fuel.network --ignore-url=faucet-testnet.fuel.network --ignore-url=github.com/FuelLabs/.*/labels/ --ignore-url=github.com/FuelLabs/.*/issues --ignore-url=bitcoin.it/wiki ${{ github.event.deployment_status.environment_url }}