ci(other): cicd
This commit is contained in:
@@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- test
|
||||
- main
|
||||
- master
|
||||
|
||||
jobs:
|
||||
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}"
|
||||
|
||||
build-and-deploy-prod:
|
||||
if: gitea.ref_name == 'main'
|
||||
if: gitea.ref_name == 'master'
|
||||
runs-on: gitea_act_runner
|
||||
container:
|
||||
image: node:24-alpine
|
||||
|
||||
Reference in New Issue
Block a user