Skip to content

Commit 79ec3ed

Browse files
Resolve actionlint env error
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
1 parent 3135493 commit 79ec3ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/flowzone.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)