Skip to content

Commit

Permalink
Tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesTaylor7 committed Nov 28, 2024
1 parent 2b54cc2 commit bdd7a75
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# flyctl launch added from .gitignore
dist-newstyle
fly.toml
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target/
/.env
/public/styles/
/node_modules/
13 changes: 10 additions & 3 deletions deploy.nu
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
#!/usr/bin/env nu

def main [branch: string = "main"] {
let api_key = $env.CURRENT_FILE
| path dirname
| path join .env
| open --raw $in
| from toml
| get UPLOADTHING_API_KEY

# TODO: upload public dir

# generate minified stylesheet
tailwindcss --input tailwind.source.css --output public/styles/index.css --minify
let api_key = open .env | get UPLOADTHING_API_KEY

# TODO: upload public dir

# deploy to citadels.fly.dev
fly secrets set GIT_SHA=$(git show -s --format=%H)
Expand Down
1 change: 1 addition & 0 deletions public/styles/index.css

Large diffs are not rendered by default.

0 comments on commit bdd7a75

Please sign in to comment.