Skip to content

Commit

Permalink
Use absolut paths for uv
Browse files Browse the repository at this point in the history
I don't understand why it won't work any other way but I will look into it later.
  • Loading branch information
flofriday committed Dec 21, 2024
1 parent 88bf98c commit c39e5ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ jobs:
git pull
npm install
npx tailwindcss --minify -i app/templates/template.css -o app/static/style.css
echo "Running uv as $USER on $SHELL" > ci.txt
/usr/bin/bash -c 'uv sync'
/home/bettercal/.local/bin/uv run
systemctl --user restart bettercal.service
2 changes: 1 addition & 1 deletion bettercal.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ After=network.target

[Service]
WorkingDirectory=/home/bettercal/better-tiss-calendar/
ExecStart=/bin/bash -c 'uv run -- gunicorn -w 5 --bind localhost:5003 app:app'
ExecStart=/home/bettercal/.local/bin/uv run -- gunicorn -w 5 --bind localhost:5003 app:app
Restart=always

[Install]
Expand Down

0 comments on commit c39e5ca

Please sign in to comment.