Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gsvd committed Jan 31, 2025
1 parent 9ed3157 commit 8c921ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
- name: Compiling
run: GOOS=linux GOARCH=amd64 go build -o ./cmd/gsvd.dev/tmp/main ./cmd/gsvd.dev
run: GOOS=linux GOARCH=amd64 go build -o ./dist/main ./cmd/gsvd.dev

- name: Deploying
run: |
ssh [email protected] 'sudo systemctl stop gsvd.dev.service'
scp ./cmd/gsvd.dev/tmp/main [email protected]:/home/deployer/gsvd.dev
scp ./dist/main [email protected]:/home/deployer/gsvd.dev
ssh [email protected] 'sudo systemctl start gsvd.dev.service'
2 changes: 1 addition & 1 deletion embeded.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "embed"
//go:embed public/*
var PublicFiles embed.FS

//go:embed dist/css/*
//go:embed dist/*
var DistFiles embed.FS

//go:embed internal/templates/*
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'media',
content: ["./templates/**/*.{html,js}"],
content: ["./internal/templates/**/*.{html,js}"],
theme: {
container: {
center: true,
Expand Down

0 comments on commit 8c921ae

Please sign in to comment.