sync
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Sync website content from Git repository
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=%h/website-but-better
|
||||
Environment=GIT_REPO_URL=https://git.organic-server.org/organic-CPU/website-but-better.git
|
||||
Environment=GIT_BRANCH=main
|
||||
Environment=DEPLOY_DIR=/var/www/html
|
||||
ExecStart=/bin/bash /home/USERNAME/website-but-better/scripts/sync_site.sh
|
||||
User=www-data
|
||||
Group=www-data
|
||||
Reference in New Issue
Block a user