mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 04:57:08 +00:00
ci: improve CI/CD process with devbox integration
This commit is contained in:
parent
96eff9dffa
commit
bd9234572a
0
.github/deploy/Caddyfile
vendored
Normal file
0
.github/deploy/Caddyfile
vendored
Normal file
6
.github/deploy/devbox.json
vendored
6
.github/deploy/devbox.json
vendored
@ -6,16 +6,14 @@
|
||||
"uv@latest",
|
||||
"bun@latest",
|
||||
"yarn@latest",
|
||||
"doppler@latest",
|
||||
"go-task@latest"
|
||||
"doppler@latest"
|
||||
],
|
||||
"env": {
|
||||
"PATH": "$HOME/.cargo/bin:$HOME/go/bin:$HOME/.local/bin:$HOME/.bun/bin:$PATH",
|
||||
"GITHUB_TOKEN": "$GITHUB_TOKEN",
|
||||
"GOPATH": "$HOME/go",
|
||||
"GOBIN": "$GOPATH/bin",
|
||||
"GHQ_ROOT": "$CLONEDIR",
|
||||
"PC_SOCK": "$HOME/.local/share/pc/sock"
|
||||
"GHQ_ROOT": "$CLONEDIR"
|
||||
},
|
||||
"shell": {
|
||||
"init_hook": [],
|
||||
|
10
Makefile
10
Makefile
@ -107,7 +107,6 @@ release: fmt-date
|
||||
@go install github.com/goreleaser/goreleaser/v2@latest
|
||||
RELEASE_DATE=$(RELEASE_DATE) goreleaser release --clean
|
||||
|
||||
|
||||
########################################
|
||||
### Tools & dependencies
|
||||
########################################
|
||||
@ -344,6 +343,15 @@ release-check:
|
||||
|
||||
validate-tag:
|
||||
@sh ./scripts/validate_tag.sh
|
||||
|
||||
deploy-up:
|
||||
@echo "Starting deployment"
|
||||
cd .github/deploy && devbox run up
|
||||
|
||||
deploy-down:
|
||||
@echo "Stopping deployment"
|
||||
cd .github/deploy && devbox run down
|
||||
|
||||
###############################################################################
|
||||
### help ###
|
||||
###############################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user