Skip to content

Commit 77f74ae

Browse files
committed
Only build on official repo
1 parent c035057 commit 77f74ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ concurrency:
1616

1717
jobs:
1818
build:
19+
if: github.repository == 'mruby/mruby.github.io'
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Checkout
@@ -40,6 +41,7 @@ jobs:
4041
uses: actions/upload-pages-artifact@v3
4142

4243
deploy:
44+
if: github.repository == 'mruby/mruby.github.io'
4345
environment:
4446
name: github-pages
4547
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)