update notification message & re-enable version check
All checks were successful
/ validate (push) Successful in 4s
/ build (push) Successful in 21s

This commit is contained in:
Ludovic Cartier
2025-07-22 00:04:34 +02:00
parent 77af792e82
commit e4f3ed8007
2 changed files with 3 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ jobs:
build:
needs: validate
#if: needs.validate.outputs.build == 'true'
if: needs.validate.outputs.build == 'true'
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
@@ -95,10 +95,6 @@ jobs:
run: |
dpkg -b varnish-exporter-amd64 bin/prometheus-varnish-exporter_$VERSION-1_amd64.deb
# - name: Prepare apt repo upload
# run: |
# mv bin/prometheus-varnish-exporter-amd64.deb bin/prometheus-varnish-exporter_$VERSION-1_amd64.deb
- name: Release packages
run: |
curl -s -u "${{ secrets.PACKAGE_TOKEN }}" --upload-file bin/prometheus-varnish-exporter_$VERSION-1_amd64.deb \
@@ -119,4 +115,4 @@ jobs:
SLACK_USERNAME: gitea-bot
SLACK_CHANNEL: gitea-actions
SLACK_COLOR: "${{ job.status }}"
SLACK_CUSTOM_PAYLOAD: '{"username": "gitea-bot", "icon_url": "https://w7.pngwing.com/pngs/940/571/png-transparent-gitea-hd-logo-thumbnail.png", "text": "varnish-exporter build has just finished in version $VERSION !"}'
SLACK_CUSTOM_PAYLOAD: '{"username": "gitea-bot", "icon_url": "https://w7.pngwing.com/pngs/940/571/png-transparent-gitea-hd-logo-thumbnail.png", "text": "varnish-exporter build has just finished in version ${{ env.VERSION }} !"}'