File tree Expand file tree Collapse file tree 3 files changed +457
-497
lines changed
Expand file tree Collapse file tree 3 files changed +457
-497
lines changed Original file line number Diff line number Diff line change 3131 name : Check links in pull request
3232 runs-on : ubuntu-latest
3333 needs : flowzone
34+
3435 steps :
3536 - name : Checkout code
3637 uses : actions/checkout@v4
@@ -54,16 +55,17 @@ jobs:
5455 key : cache-lychee-${{ github.sha }}
5556 restore-keys : cache-lychee-
5657
58+ - name : Set Deployment URL
59+ run : echo "DEPLOYMENT_URL=${{ needs.flowzone.outputs.cloudflare_deployment_url || 'https://docs.balena.io' }}" >> $GITHUB_ENV
60+
5761 # Run link checker on the generated HTML
5862 - name : Link Checker
5963 id : lychee
6064 uses : lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 # for v1.10.0
61- env :
62- DEPLOYMENT_URL : ${{ needs.flowzone.outputs.cloudflare_deployment_url || 'https://docs.balena.io' }}
6365 with :
6466 args : >
6567 -qq
66- --base ${{ env. DEPLOYMENT_URL }}
68+ --base $DEPLOYMENT_URL
6769 --config ./lychee.toml
6870 "build/**/*" "tools/fetch-external.sh"
6971 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments