mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(CI): Don't try to deploy from forks
Gitstats and doxygen deploys require deploy keys to update qTox's website. Don't try to do this from forks, since it will always fail.
This commit is contained in:
parent
bc751c8e1c
commit
3170dd8d62
4
.github/workflows/build-test-deploy.yaml
vendored
4
.github/workflows/build-test-deploy.yaml
vendored
|
@ -505,7 +505,7 @@ jobs:
|
|||
- name: Run
|
||||
run: ./.ci-scripts/build-docs.sh
|
||||
- name: Deploy
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' && github.owner == 'qTox'
|
||||
env:
|
||||
access_key: ${{ secrets.DOXYGEN_DEPLOY_KEY }}
|
||||
run: ./.ci-scripts/deploy-docs.sh
|
||||
|
@ -527,7 +527,7 @@ jobs:
|
|||
- name: Run
|
||||
run: ./.ci-scripts/build-gitstats.sh
|
||||
- name: Deploy
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' && github.owner == 'qTox'
|
||||
env:
|
||||
access_key: ${{ secrets.GITSTATS_DEPLOY_KEY }}
|
||||
run: ./.ci-scripts/deploy-gitstats.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user