Skip to content

Commit

Permalink
Set pwd as workdir in container
Browse files Browse the repository at this point in the history
  • Loading branch information
marians committed Apr 10, 2024
1 parent a4937cb commit aaf3060
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/check-links-in-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: check-links-in-overview-pages
run: |
docker run --rm --name linkchecker \
--volume ${PWD}:/workdir --workdir /workdir \
ghcr.io/linkchecker/linkchecker:latest \
https://docs.giantswarm.io/overview/ \
--check-extern \
Expand All @@ -30,6 +31,7 @@ jobs:
- name: check-links-in-getting-started-pages
run: |
docker run --rm --name linkchecker \
--volume ${PWD}:/workdir --workdir /workdir \
ghcr.io/linkchecker/linkchecker:latest \
https://docs.giantswarm.io/getting-started/ \
--check-extern \
Expand All @@ -43,6 +45,7 @@ jobs:
- name: check-links-in-tutorials-pages
run: |
docker run --rm --name linkchecker \
--volume ${PWD}:/workdir --workdir /workdir \
ghcr.io/linkchecker/linkchecker:latest \
https://docs.giantswarm.io/tutorials/ \
--check-extern \
Expand All @@ -56,6 +59,7 @@ jobs:
- name: check-links-in-reference-pages
run: |
docker run --rm --name linkchecker \
--volume ${PWD}:/workdir --workdir /workdir \
ghcr.io/linkchecker/linkchecker:latest \
https://docs.giantswarm.io/reference/ \
--check-extern \
Expand All @@ -69,6 +73,7 @@ jobs:
- name: check-links-in-support-pages
run: |
docker run --rm --name linkchecker \
--volume ${PWD}:/workdir --workdir /workdir \
ghcr.io/linkchecker/linkchecker:latest \
https://docs.giantswarm.io/support/ \
--check-extern \
Expand All @@ -82,6 +87,7 @@ jobs:
- name: check-links-in-changelogs
run: |
docker run --rm --name linkchecker \
--volume ${PWD}:/workdir --workdir /workdir \
ghcr.io/linkchecker/linkchecker:latest \
https://docs.giantswarm.io/changes/ \
--threads 1 \
Expand Down

0 comments on commit aaf3060

Please sign in to comment.