mirror of https://github.com/CrimsonTome/tldr.git
Quick fix, github.branch -> github.ref
parent
b95727b9d6
commit
d8e6c7e11f
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue