From 890a245e97c3b205bd27532ca3e4c3efe1cbb34e Mon Sep 17 00:00:00 2001 From: TheSt1tch Date: Sun, 26 Jan 2025 14:16:10 +0500 Subject: [PATCH] update --- .woodpacker.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.woodpacker.yml b/.woodpacker.yml index 1509e46..fa7c787 100755 --- a/.woodpacker.yml +++ b/.woodpacker.yml @@ -1,18 +1,23 @@ -pipeline: +when: + - event: push + branch: main - build: + +steps: + - name: build image: git.st1t.ru/thest1tch/mkdocs-material:latest commands: - mkdocs build --clean - ls -l site/ - cp -r site/ /site - chown 1000:1000 /site - - chmod -R 777 /site + - chmod -R 777 /site - deploy: + - name: deploy image: alpine:latest volumes: - /opt/appdata/nginx/st1t.ru/site:/site # Локальный каталог, монтируемый в контейнер Nginx commands: - cp -r site/* /site/ - echo "Deployment complete." + \ No newline at end of file