Rename shared backend to Bedrock [skip ci]
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# 仅 main 的相关路径变更触发发布;工作分支验证不应运行此生产切换。
|
||||
name: Deploy Foundry Core
|
||||
name: Deploy Bedrock
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
set -eu
|
||||
test -z "$(gofmt -l cmd internal)"
|
||||
go test -mod=readonly ./...
|
||||
CGO_ENABLED=0 go build -mod=readonly -o bin/foundry ./cmd/foundry
|
||||
CGO_ENABLED=0 go build -mod=readonly -o bin/bedrock ./cmd/bedrock
|
||||
# secrets 仅注入进程环境,项目/引导 JSON 来自 Actions Variables,release 再检查内容。
|
||||
- name: Deploy and verify backend readiness
|
||||
env:
|
||||
@@ -44,4 +44,4 @@ jobs:
|
||||
SLACK_CLIENT_SECRET: ${{ secrets.SLACK_CLIENT_SECRET }}
|
||||
FOUNDRY_PROJECTS: ${{ vars.FOUNDRY_PROJECTS }}
|
||||
FOUNDRY_ONBOARDING: ${{ vars.FOUNDRY_ONBOARDING }}
|
||||
run: bash deploy/release.sh bin/foundry
|
||||
run: bash deploy/release.sh bin/bedrock
|
||||
|
||||
Reference in New Issue
Block a user