Skip to content

Commit cf68a90

Browse files
committed
Set default working dir to spock-website/
1 parent 9bd0e1d commit cf68a90

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
name: github-pages
2828
url: ${{ steps.deployment.outputs.page_url }}
2929
runs-on: ubuntu-latest
30+
defaults:
31+
run:
32+
working-directory: ./spock-website
3033
steps:
3134
- name: Checkout
3235
uses: actions/checkout@v4

.github/workflows/update-reference-screenshots.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ permissions:
99
jobs:
1010
update-screenshots:
1111
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: ./spock-website
1215
steps:
1316
- name: Checkout
1417
uses: actions/checkout@v4
@@ -31,7 +34,7 @@ jobs:
3134
run: |
3235
git config user.email "dev@forum.spockframework.org"
3336
git config user.name "Spock Framework Robot"
34-
git add spock-website/tests/__screenshots__/
37+
git add tests/__screenshots__/
3538
if [[ -n "$(git status --porcelain)" ]]; then
3639
echo "::set-output name=has_changes::true"
3740
git commit -m "Update reference screenshots"

.github/workflows/verify.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ concurrency:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14+
defaults:
15+
run:
16+
working-directory: ./spock-website
1417
steps:
1518
- name: Checkout
1619
uses: actions/checkout@v4
@@ -40,6 +43,9 @@ jobs:
4043

4144
verify:
4245
runs-on: ubuntu-latest
46+
defaults:
47+
run:
48+
working-directory: ./spock-website
4349
steps:
4450
- name: Checkout
4551
uses: actions/checkout@v4

0 commit comments

Comments
 (0)