Skip to content

Commit d31a182

Browse files
committed
update workflow
1 parent 653fc2b commit d31a182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
# Build job
2323
github-pages:
2424
if: github.event.workflow_run.conclusion == 'success'
25-
runs-on: ${{ github.ref_name != 'main' && 'ubuntu-latest' || (
26-
github.repository_owner != 'FeedMapping' && 'windows-latest' || 'self-hosted') }}
25+
runs-on: ${{ github.actor != github.repository_owner && 'self-hosted' || (
26+
github.ref_name != 'main' && 'ubuntu-latest' || 'windows-latest') }}
2727
steps:
2828
- name: 📂 Checkout
2929
uses: actions/checkout@v3

0 commit comments

Comments
 (0)