ci(other): cicd
This commit is contained in:
@@ -4,7 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- test
|
- test
|
||||||
- main
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy-dev:
|
build-and-deploy-dev:
|
||||||
@@ -85,7 +85,7 @@ jobs:
|
|||||||
curl -sS -H 'Content-Type: application/json' -d "{\"msgtype\":\"markdown\",\"markdown\":{\"content\":\"$MSG\"}}" "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=${WEBHOOK_KEY}"
|
curl -sS -H 'Content-Type: application/json' -d "{\"msgtype\":\"markdown\",\"markdown\":{\"content\":\"$MSG\"}}" "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=${WEBHOOK_KEY}"
|
||||||
|
|
||||||
build-and-deploy-prod:
|
build-and-deploy-prod:
|
||||||
if: gitea.ref_name == 'main'
|
if: gitea.ref_name == 'master'
|
||||||
runs-on: gitea_act_runner
|
runs-on: gitea_act_runner
|
||||||
container:
|
container:
|
||||||
image: node:24-alpine
|
image: node:24-alpine
|
||||||
|
|||||||
Reference in New Issue
Block a user