mirror of
https://github.com/agresdominik/website.git
synced 2026-04-21 10:02:00 +00:00
Enhance workflow with build and clean steps
Add build and clean steps to the workflow.
This commit is contained in:
@@ -25,6 +25,9 @@ jobs:
|
||||
cd /home/agres/website
|
||||
git pull origin main
|
||||
|
||||
# Build Project
|
||||
make build
|
||||
|
||||
# Copy compiled Hugo site to web root
|
||||
sudo rsync -av --delete --no-group --no-owner /home/agres/website/blog/public/ /var/www/html/
|
||||
|
||||
@@ -33,3 +36,6 @@ jobs:
|
||||
|
||||
# Reload Nginx
|
||||
sudo systemctl reload nginx
|
||||
|
||||
# Clean
|
||||
make clean
|
||||
|
||||
Reference in New Issue
Block a user