simplify telegram action workflow
All checks were successful
website-dev / dev-build (push) Successful in 46s
All checks were successful
website-dev / dev-build (push) Successful in 46s
This commit is contained in:
parent
2c2b2136c8
commit
7f855f659c
@ -5,10 +5,6 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dev-build:
|
dev-build:
|
||||||
if: gitea.repository == 'gcg/gcg-website'
|
if: gitea.repository == 'gcg/gcg-website'
|
||||||
@ -36,4 +32,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
chat_id: ${{ secrets.TG_CHAT_ID }}
|
chat_id: ${{ secrets.TG_CHAT_ID }}
|
||||||
token: ${{ secrets.TG_TOKEN }}
|
token: ${{ secrets.TG_TOKEN }}
|
||||||
include_commit_info: false
|
|
||||||
|
@ -7,10 +7,6 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prod-build:
|
prod-build:
|
||||||
if: gitea.repository == 'gcg/gcg-website'
|
if: gitea.repository == 'gcg/gcg-website'
|
||||||
@ -38,7 +34,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
chat_id: ${{ secrets.TG_CHAT_ID }}
|
chat_id: ${{ secrets.TG_CHAT_ID }}
|
||||||
token: ${{ secrets.TG_TOKEN }}
|
token: ${{ secrets.TG_TOKEN }}
|
||||||
include_commit_info: false
|
|
||||||
test-build:
|
test-build:
|
||||||
if: gitea.repository == 'gcg/gcg-website'
|
if: gitea.repository == 'gcg/gcg-website'
|
||||||
runs-on: act-runner-user
|
runs-on: act-runner-user
|
||||||
|
Loading…
x
Reference in New Issue
Block a user