CI: fix deployment branch check (#4130)

client-spec/clarity
Marco Bonelli 2020-06-27 18:19:22 +02:00 committed by GitHub
parent 7eddc00f20
commit 4b76ffff45
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.ref == 'master'
if: github.repository == 'tldr-pages/tldr' && github.ref == 'refs/heads/master'
run: bash scripts/deploy.sh
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}