From 4b76ffff457a7d5312839d9aa745b18f4a894855 Mon Sep 17 00:00:00 2001 From: Marco Bonelli <14198070+mebeim@users.noreply.github.com> Date: Sat, 27 Jun 2020 18:19:22 +0200 Subject: [PATCH] CI: fix deployment branch check (#4130) --- .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 47a892ded..9c0549931 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.ref == 'master' + if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master' run: bash scripts/deploy.sh env: DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}