Quick fix, github.branch -> github.ref

client-spec/clarity
Zlatan Vasović 2020-06-26 19:09:47 +02:00 committed by GitHub
parent b95727b9d6
commit d8e6c7e11f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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