1
0
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:
Anthony Bilinski 2022-03-03 03:58:01 -08:00
parent bc751c8e1c
commit 3170dd8d62
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -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