From 2cc58723cb24c785735f19449f515912118c87c0 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Tue, 22 Sep 2020 00:56:14 +0200 Subject: [PATCH] Do not try updating docs if no key is set This will avoid this randomly failing in forks, unless we want to run it --- .github/workflows/update-master-docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-master-docs.yml b/.github/workflows/update-master-docs.yml index 22eba342..6be295c7 100644 --- a/.github/workflows/update-master-docs.yml +++ b/.github/workflows/update-master-docs.yml @@ -16,6 +16,7 @@ on: jobs: build: + if: ${{ secrets.SSH_KEY_SECRET }} != ${{ '' }} runs-on: ubuntu-18.04 steps: - name: Checkout rgbds@master