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 }}