From 12f61d2bb238c967b462ff05719fd952cecbf6ff Mon Sep 17 00:00:00 2001 From: Benny Date: Thu, 23 Apr 2026 14:30:16 -0500 Subject: [PATCH] Deploy.yml edited --- .gitea/workflows/deploy.yml | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e546f3f..28726e1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,31 +1,5 @@ -name: Deploy - -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: vps-host - steps: - - name: Pull latest code +- name: Pull latest code run: | + ls /var/www/ cd /var/www/bennysblog - git pull origin main - - - name: Install Python dependencies - run: | - cd /var/www/bennysblog - python3 -m pip install -r requirements.txt --quiet - - - name: Build CSS - run: | - cd /var/www/bennysblog - npx tailwindcss \ - -i static/src/app.css \ - -o static/css/app.css \ - --minify - - - name: Restart service - run: sudo systemctl restart benny \ No newline at end of file + git pull origin main \ No newline at end of file