From d8e6c7e11fc4747b0296667232a2406f469a97ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Fri, 26 Jun 2020 19:09:47 +0200 Subject: [PATCH] Quick fix, github.branch -> github.ref --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7154a8e31..47a892ded 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: run: bash scripts/build.sh - name: Deploy - if: github.repository == 'tldr-pages/tldr' && github.branch == 'master' + if: github.repository == 'tldr-pages/tldr' && github.ref == 'master' run: bash scripts/deploy.sh env: DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}