Skip to content

Commit 5c21e7c

Browse files
committed
Play around with commands
1 parent d399c7b commit 5c21e7c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ jobs:
3636
run: |
3737
npm install -g @umbrelladocs/linkspector
3838
echo "linkspector version: $(linkspector --version)"
39-
echo "Files changed in this pr: ${{ steps.changed-files.outputs.changed_files }}"
40-
linkspector check ${{ steps.changed-files.outputs.changed_files }}
39+
echo "files:" > .linkspector.yml
40+
echo "${{ steps.changed-files.outputs.changed_files }}" | tr ' ' '\n' | while read -r file; do
41+
echo " - $file" >> .linkspector.yml
42+
done
43+
linkspector --config .linkspector.yml check
4144
- name: Install Zola
4245
run: |
4346
curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz

0 commit comments

Comments
 (0)