File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 31
31
name : Check links in pull request
32
32
runs-on : ubuntu-latest
33
33
needs : flowzone
34
+
34
35
steps :
35
36
- name : Checkout code
36
37
uses : actions/checkout@v4
@@ -54,16 +55,17 @@ jobs:
54
55
key : cache-lychee-${{ github.sha }}
55
56
restore-keys : cache-lychee-
56
57
58
+ - name : Set Deployment URL
59
+ run : echo "DEPLOYMENT_URL=${{ needs.flowzone.outputs.cloudflare_deployment_url || 'https://docs.balena.io' }}" >> $GITHUB_ENV
60
+
57
61
# Run link checker on the generated HTML
58
62
- name : Link Checker
59
63
id : lychee
60
64
uses : lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 # for v1.10.0
61
- env :
62
- DEPLOYMENT_URL : ${{ needs.flowzone.outputs.cloudflare_deployment_url || 'https://docs.balena.io' }}
63
65
with :
64
66
args : >
65
67
-qq
66
- --base ${{ env. DEPLOYMENT_URL }}
68
+ --base $DEPLOYMENT_URL
67
69
--config ./lychee.toml
68
70
"build/**/*" "tools/fetch-external.sh"
69
71
token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments