Links #1265
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |