You've already forked ansible-role-common
ci: Updated cron scheduler
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -81,12 +81,19 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.G_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.G_TOKEN }}
|
||||||
GITEA_HOST: ${{ secrets.G_SERVER_URL}}
|
GITEA_HOST: ${{ secrets.G_SERVER_URL}}
|
||||||
|
notify:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- lint
|
||||||
|
- molecule
|
||||||
|
- release
|
||||||
|
steps:
|
||||||
- name: ntfy-success-notifications
|
- name: ntfy-success-notifications
|
||||||
uses: niniyas/ntfy-action@master
|
uses: niniyas/ntfy-action@master
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
url: '${{ vars.NTFY_URL }}'
|
url: '${{ vars.NTFY_URL }}'
|
||||||
title: Workflow success
|
title: Workflow success - ansible-role-common
|
||||||
topic: 'ci-status'
|
topic: 'ci-status'
|
||||||
priority: 4
|
priority: 4
|
||||||
tags: +1,partying_face,action,successfully,completed
|
tags: +1,partying_face,action,successfully,completed
|
||||||
@@ -99,7 +106,7 @@ jobs:
|
|||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
url: '${{ vars.NTFY_URL }}'
|
url: '${{ vars.NTFY_URL }}'
|
||||||
title: Workflow failed
|
title: Workflow failed - ansible-role-common
|
||||||
topic: 'ci-status'
|
topic: 'ci-status'
|
||||||
priority: 5
|
priority: 5
|
||||||
tags: -1,skull,action,failed
|
tags: -1,skull,action,failed
|
||||||
|
|||||||
8
.github/workflows/cron.yml
vendored
8
.github/workflows/cron.yml
vendored
@@ -30,12 +30,16 @@ jobs:
|
|||||||
PY_COLORS: '1'
|
PY_COLORS: '1'
|
||||||
ANSIBLE_FORCE_COLOR: '1'
|
ANSIBLE_FORCE_COLOR: '1'
|
||||||
MOLECULE_DISTRO: ${{ matrix.os }}
|
MOLECULE_DISTRO: ${{ matrix.os }}
|
||||||
|
notify:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: molecule
|
||||||
|
steps:
|
||||||
- name: ntfy-success-notifications
|
- name: ntfy-success-notifications
|
||||||
uses: niniyas/ntfy-action@master
|
uses: niniyas/ntfy-action@master
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
url: '${{ vars.NTFY_URL }}'
|
url: '${{ vars.NTFY_URL }}'
|
||||||
title: Workflow success
|
title: Workflow success - ansible-role-common
|
||||||
topic: 'ci-status'
|
topic: 'ci-status'
|
||||||
priority: 4
|
priority: 4
|
||||||
tags: +1,partying_face,action,successfully,completed
|
tags: +1,partying_face,action,successfully,completed
|
||||||
@@ -48,7 +52,7 @@ jobs:
|
|||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
url: '${{ vars.NTFY_URL }}'
|
url: '${{ vars.NTFY_URL }}'
|
||||||
title: Workflow failed
|
title: Workflow failed - ansible-role-common
|
||||||
topic: 'ci-status'
|
topic: 'ci-status'
|
||||||
priority: 5
|
priority: 5
|
||||||
tags: -1,skull,action,failed
|
tags: -1,skull,action,failed
|
||||||
|
|||||||
Reference in New Issue
Block a user