diff --git a/.github/workflows/jellyfish_monitoring.yml b/.github/workflows/jellyfish_monitoring.yml new file mode 100644 index 0000000..d3cb44d --- /dev/null +++ b/.github/workflows/jellyfish_monitoring.yml @@ -0,0 +1,27 @@ +name: Report to Jellyfish +on: + push: + branches: + - master + - jk-jellyfish +jobs: + notify-changes: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Notify of merge + run: | + echo "Reporting to Jellyfish" + + report_results: + needs: notify-changes + runs-on: ubuntu-latest + # only want to do trigger this when the merge to master is made by the deployment bot + steps: + - uses: idio/datascience_gha_workflows@main + with: + jellyfish_api_token: ${{ secrets.JELLYFISH_API_TOKEN }} + name: "Deployment of Kubeluigi" + is_successful: ${{ needs.notify-changes.result == 'success' }}