Skip to content

Commit

Permalink
chore: update theme regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Sep 16, 2024
1 parent 4fb70d1 commit bc91e6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview-storefront.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
id: regex-theme
with:
text: ${{ steps.fc.outputs.comment-body }}
regex: '\[Theme\]\((https:\/\/[^)]+)\) `[^`]+`'
regex: '\[Theme\]\((https:\/\/[^)]+)\)'

- name: Get current time in CEST
uses: josStorer/get-current-time@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/preview-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- run: echo ${{ steps.fc.outputs.comment-id }}
if: success() && env.PR_NUMBER

- name: Find Storybook deployment
- name: Find Storefront deployment
uses: actions-ecosystem/action-regex-match@v2
id: regex-storefront
with:
Expand All @@ -69,7 +69,7 @@ jobs:
id: regex-theme
with:
text: ${{ steps.fc.outputs.comment-body }}
regex: '\[Theme\]\((https:\/\/[^)]+)\) `[^`]+`'
regex: '\[Theme\]\((https:\/\/[^)]+)\)'

- name: Get current time in CEST
uses: josStorer/get-current-time@v2
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/preview-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,6 @@ jobs:
text: ${{ steps.fc.outputs.comment-body }}
regex: '🖥 \[Storefront\]\((https:\/\/[^)]+)\) `[^`]+`'

- name: Find Theme deployment
uses: actions-ecosystem/action-regex-match@v2
id: regex-theme
with:
text: ${{ steps.fc.outputs.comment-body }}
regex: '\[Theme\]\((https:\/\/[^)]+)\) `[^`]+`'

- name: Get current time in CEST
uses: josStorer/get-current-time@v2
id: current-time
Expand Down

0 comments on commit bc91e6e

Please sign in to comment.