Fix 1 - Migrar Codigo a TS #2

Merged
giacchetta merged 4 commits from 1-migrar-js-a-ts into main 2025-07-03 17:52:58 -03:00
3 changed files with 9 additions and 3 deletions
Showing only changes of commit 9528126c41 - Show all commits

View File

@ -13,4 +13,5 @@ jobs:
uses: actions/checkout@v4
- name: Make Build
run: make build
- name: Make Deploy
run: make deploy

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
.envrc
node_modules
dist
dist
tests

View File

@ -1,7 +1,8 @@
NAMESPACE:= codyops
REGISTRY:= gianet.us/codyops
IMAGE:= nucleus
.PHONY: init build setup
.PHONY: init build setup deploy
init:
direnv allow .
@ -13,3 +14,6 @@ build: setup
npm run build
podman build --pull=newer --tag $(REGISTRY)/$(IMAGE) .
podman push $(REGISTRY)/$(IMAGE)
deploy:
kubectl -n $(NAMESPACE) rollout restart deployment/$(NAMESPACE)-$(IMAGE)