Skip to content

Commit e4bf5e2

Browse files
committed
fix deploy-testing always shown but skipped
Signed-off-by: Andre Bossert <anb0s@anbos.de>
1 parent d8ab954 commit e4bf5e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pull_request-or-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
path: site/target/repository
3838

3939
deploy-testing:
40+
if: github.event_name == 'pull_request' && contains(github.head_ref, 'testing')
4041
runs-on: ubuntu-latest
4142
needs: [platform]
4243
steps:
4344
- uses: actions/checkout@v2
4445
- name: Deploy for Testing
45-
if: github.event_name == 'pull_request' && contains(github.head_ref, 'testing')
4646
uses: JamesIves/github-pages-deploy-action@v4
4747
with:
4848
branch: gh-pages

0 commit comments

Comments
 (0)