Skip to content

Commit

Permalink
ci: improve CI/CD process with devbox integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Prad N committed Jan 11, 2025
1 parent 96eff9d commit bd92345
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Empty file added .github/deploy/Caddyfile
Empty file.
File renamed without changes.
6 changes: 2 additions & 4 deletions .github/deploy/devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ release: fmt-date
@go install github.com/goreleaser/goreleaser/v2@latest
RELEASE_DATE=$(RELEASE_DATE) goreleaser release --clean


########################################
### Tools & dependencies
########################################
Expand Down Expand Up @@ -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 ###
###############################################################################
Expand Down

0 comments on commit bd92345

Please sign in to comment.