update notification message & re-enable version check
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
needs: validate
|
needs: validate
|
||||||
#if: needs.validate.outputs.build == 'true'
|
if: needs.validate.outputs.build == 'true'
|
||||||
timeout-minutes: 2
|
timeout-minutes: 2
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -95,10 +95,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
dpkg -b varnish-exporter-amd64 bin/prometheus-varnish-exporter_$VERSION-1_amd64.deb
|
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
|
- name: Release packages
|
||||||
run: |
|
run: |
|
||||||
curl -s -u "${{ secrets.PACKAGE_TOKEN }}" --upload-file bin/prometheus-varnish-exporter_$VERSION-1_amd64.deb \
|
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_USERNAME: gitea-bot
|
||||||
SLACK_CHANNEL: gitea-actions
|
SLACK_CHANNEL: gitea-actions
|
||||||
SLACK_COLOR: "${{ job.status }}"
|
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 }} !"}'
|
||||||
|
Reference in New Issue
Block a user