@cryptotaxi247 / netdata-1 / commits / d6d24ff7d

Fix updating release info when publishing nightly releases. (#17871)

Austin S. Hemmelgarn committed Jun 13, 2024 at 09:17 UTC d6d24ff7d2e76304f710950ee38e41197bcdf7d1
1 file changed +10 -3
.github/workflows/build.yml
+10 -3
@@ -951,11 +951,17 @@ jobs:
951 key: ${{ secrets.NETDATABOT_PACKAGES_SSH_KEY }}
952 name: id_ecdsa
953 known_hosts: ${{ secrets.PACKAGES_KNOWN_HOSTS }}
954 - - name: Sync newer releases
954 + - name: Sync release info to packages.netdata.cloud
955 id: sync-releases
956 + continue-on-error: true
957 + if: github.event_name == 'workflow_dispatch' && github.repository == 'netdata/netdata' && steps.check-latest-version.outputs.versions_needs_update == 'true'
958 + run: |
959 + .github/scripts/upload-new-version-tags.sh packages.netdata.cloud
960 + - name: Sync release info to packages2.netdata.cloud
961 + id: sync-releases2
962 if: github.event_name == 'workflow_dispatch' && github.repository == 'netdata/netdata' && steps.check-latest-version.outputs.versions_needs_update == 'true'
963 run: |
958 - .github/scripts/upload-new-version-tags.sh
964 + .github/scripts/upload-new-version-tags.sh packages.netdata.cloud
965 - name: Failure Notification
966 uses: rtCamp/action-slack-notify@v2
967 env:
@@ -976,7 +982,8 @@ jobs:
982 Setup python environment: ${{ steps.setup-python.outcome }}
983 Check the nearly published release against the advertised: ${{ steps.check-latest-version.outcome }}
984 Setup ssh: ${{ steps.ssh-setup.outcome }}
979 - Sync with the releases: ${{ steps.sync-releases.outcome }}
985 + Sync release info to packages.netdata.cloud: ${{ steps.sync-releases.outcome }}
986 + Sync release info to packages2.netdata.cloud: ${{ steps.sync-releases2.outcome }}
987 SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
988 if: >-
989 ${{