Skip to content

Commit ff18535

Browse files
committed
TCLOUD-4780: Set working directory only for the one step
1 parent c0127be commit ff18535

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/preview_create.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
defaults:
2828
run:
2929
shell: bash
30-
working-directory: ./.github/workflows/scripts
3130

3231
steps:
3332
- name: Checkout branch
@@ -51,6 +50,7 @@ jobs:
5150
5251
- name: Convert branch into subdomain
5352
id: get-subdomain
53+
working-directory: ./.github/workflows/scripts
5454
run: |
5555
node ./branch-to-subdomain.js | { read s; echo "subdomain=$s" } >> $GITHUB_OUTPUT
5656

.github/workflows/preview_delete.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
defaults:
1919
run:
2020
shell: bash
21-
working-directory: ./.github/workflows/scripts
2221

2322
steps:
2423
- name: Checkout branch
@@ -32,6 +31,7 @@ jobs:
3231

3332
- name: Convert branch into subdomain
3433
id: get-subdomain
34+
working-directory: ./.github/workflows/scripts
3535
run: |
3636
node ./branch-to-subdomain.js | { read s; echo "subdomain=$s" } >> $GITHUB_OUTPUT
3737

0 commit comments

Comments
 (0)