From 7c0a5cd45ab44fd65d0bc1b74d170e4b72721cd6 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 20 Apr 2021 22:50:38 +0200 Subject: [PATCH] Trigger workflow only on master --- .github/workflows/gh-pages.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 075c81c07..0f822da69 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,5 +1,8 @@ name: Build and deploy to gh-pages -on: [push] +on: + push: + branches: + - master jobs: build-and-deploy: runs-on: ubuntu-latest