mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
CI: fix deployment branch check (#4130)
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user