fix(deploy): correct service name and app path for Hetzner
Service is rss-news-api (not rss-app), app lives at /opt/rss-news. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0a9c0b10d6
commit
d9ab599466
1 changed files with 3 additions and 2 deletions
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
|
|
@ -21,12 +21,13 @@ jobs:
|
|||
port: 22
|
||||
envs: APP_ADMIN_USERNAME,APP_ADMIN_PASSWORD
|
||||
script: |
|
||||
cd rss-news
|
||||
cd /opt/rss-news
|
||||
git pull origin main
|
||||
source .venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
pip install -r backend/requirements.txt || true
|
||||
sudo systemctl restart rss-app
|
||||
sudo systemctl restart rss-news-api
|
||||
sleep 3
|
||||
BASE_URL="https://news.vanityontour.de" APP_ADMIN_USERNAME="${APP_ADMIN_USERNAME}" APP_ADMIN_PASSWORD="${APP_ADMIN_PASSWORD}" bash scripts/smoke_backend.sh
|
||||
env:
|
||||
APP_ADMIN_USERNAME: ${{ secrets.NEWS_APP_ADMIN_USERNAME }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue