Skip to content

Commit

Permalink
ci: Update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
WCY-dt committed Dec 17, 2024
1 parent 8cd1968 commit b8d1d4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ source venv/bin/activate || { echo "Failed to activate virtual environment"; exi
pip install -r requirements.txt || { echo "Failed to install dependencies"; exit 1; }

# Start the systemd service
cp my-github-2024.service /etc/systemd/system
systemctl daemon-reload || { echo "Failed to reload systemd"; exit 1; }
systemctl start my-github-2024 || { echo "Failed to start service"; exit 1; }
systemctl enable my-github-2024 || { echo "Failed to enable service"; exit 1; }

Expand Down

0 comments on commit b8d1d4c

Please sign in to comment.