Fix conditions for uploading repoconfig packages to new infra. (#14134)
Austin S. Hemmelgarn committed
Dec 13, 2022 at 11:48 UTC
143bf4709aee6a00078d4db864bf8d4d9239736e
1 file changed
+2
-2
.github/workflows/repoconfig-packages.yml
+2
-2
@@ -96,7 +96,7 @@ jobs:
96
/netdata/packaging/repoconfig/build-${{ matrix.format }}.sh
97
- name: SSH setup
98
id: ssh-setup
99
- if: github.event_name == 'workflow_dispatch'
99
+ if: github.event_name != 'pull_request' && github.repository == 'netdata/netdata'
100
continue-on-error: true
101
uses: shimataro/ssh-key-action@v2
102
with:
@@ -106,7 +106,7 @@ jobs:
106
- name: Upload to packages.netdata.cloud
107
id: package-upload
108
continue-on-error: true
109
- if: github.event_name == 'workflow_dispatch'
109
+ if: github.event_name != 'pull_request' && github.repository == 'netdata/netdata'
110
run: |
111
.github/scripts/package-upload.sh \
112
${{ matrix.repo_distro }} \