From 0063238c23ad3cf8631ecc3e32e3ce7b632cf983 Mon Sep 17 00:00:00 2001 From: Wietze Date: Mon, 25 Oct 2021 22:44:05 +0100 Subject: [PATCH] Only perform Action on the main branch - will prevent test from failing on forks --- .github/workflows/gh-pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 4d5ce7b..4e1a7c3 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -10,6 +10,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: github.event.repository.fork == false steps: - uses: actions/checkout@v2