fix
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
TheSt1tch 2 months ago
parent 71e3d8b0c3
commit 7ba00923f9

@ -8,18 +8,16 @@ steps:
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
- ls -l site/
- cp -r site/ /site
- chown 1000:1000 /site
- chmod -R 777 /site
- name: deploy
image: alpine:latest
volumes:
- /opt/appdata/nginx/st1t.ru/site:/site
commands:
- apt-get update && apt-get install -y rsync
- rm -rf /site
- cp -r site/* /site/
- echo "Deployment complete."
Loading…
Cancel
Save