Skip to content

Commit

Permalink
Quick fix, github.branch -> github.ref
Browse files Browse the repository at this point in the history
  • Loading branch information
zlatanvasovic authored Jun 26, 2020
1 parent b95727b commit d8e6c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit d8e6c7e

Please sign in to comment.