Quick fix, github.branch -> github.ref

This commit is contained in:
Zlatan Vasović
2020-06-26 19:09:47 +02:00
committed by GitHub
parent b95727b9d6
commit d8e6c7e11f

View File

@@ -27,7 +27,7 @@ jobs:
run: bash scripts/build.sh run: bash scripts/build.sh
- name: Deploy - 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 run: bash scripts/deploy.sh
env: env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}