Skip to content

Commit db8b0b5

Browse files
committed
Dummy: Mount
1 parent da1db35 commit db8b0b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
runs-on: ubuntu-latest
1818
container:
1919
image: mcr.microsoft.com/playwright:v1.56.1-noble
20+
options: >-
21+
--mount type=bind,source=/usr/local/bin/hugo,target=/usr/local/bin/hugo
2022
steps:
2123
# Checkout the repository so the workflow has access to the code
2224
- name: Checkout code
@@ -26,10 +28,6 @@ jobs:
2628
with:
2729
hugo-version: '0.147.8'
2830
extended: true
29-
- name: Copy Hugo to container
30-
run: |
31-
CONTAINER_ID=$(docker ps -q --filter ancestor=mcr.microsoft.com/playwright:v1.56.1-noble)
32-
docker cp /usr/local/bin/hugo $CONTAINER_ID:/usr/local/bin/hugo
3331
- name: Install dependencies
3432
run: cd tests && npm ci
3533
- name: Run Playwright tests

0 commit comments

Comments
 (0)