Skip to content

Commit

Permalink
Added deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
teon committed Oct 4, 2023
1 parent c85b09a commit 43efdd1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Deploymnet

install go-task

then:

go-task deploy
3 changes: 3 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ tasks:
script-dots:
cmds:
- bun build --minify --target=browser --watch --outdir=./src/assets/scripts/ ./scripts/dots/dots.ts
deploy:
cmds:
- cd src && bsdtar --no-acls --no-mac-metadata --no-xattrs --exclude Dockerfile --exclude-vcs --exclude '*.yml' --exclude README.md --exclude '*.sh' -cf - . | kubectl -n dynamic-sites exec -it deploy/dynamic-sites -- tar -C /sites/teonite.com -xf -
default:
deps: [scss, script-nav, script-dots, serve]

0 comments on commit 43efdd1

Please sign in to comment.