Skip to content

Commit 251331f

Browse files
committed
feat(gen): update
1 parent 95a6e4b commit 251331f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/link-check-schedule.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ jobs:
99
steps:
1010
- uses: filiph/[email protected]
1111
with:
12-
arguments: https://www.scaleway.com/en/docs/serverless/ >> $GITHUB_OUTPUT
13-
id: run_check
12+
arguments: https://www.scaleway.com/en/docs/serverless/ >> linkcheck_output.txt
1413
- name: Upload a Build Artifact
1514
if: always() # Triggers step if previous step fails. Must be added to consecutive steps as well.
1615
uses: actions/[email protected]
@@ -25,11 +24,13 @@ jobs:
2524
webhook-type: incoming-webhook
2625
payload: |
2726
text: "Link check results are available in :thread:."
27+
- name: Parse output to variable
28+
run: =$(<linkcheck_output.txt)
2829
- name: Reply with output of linkcheck
2930
if: always() # Triggers step if previous step fails. Must be added to consecutive steps as well.
3031
uses: slackapi/[email protected] # ref: https://github.com/slackapi/slack-github-action
3132
with:
3233
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
3334
webhook-type: incoming-webhook
3435
payload: |
35-
text: "${{ steps.run_check.outputs.*}}"
36+
text: "$var"

0 commit comments

Comments
 (0)