You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docs/.woodpecker.yml

24 lines
544 B
YAML

when:
- event: push
branch: main
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
- name: deploy
image: alpine:latest
volumes:
- /opt/appdata/nginx/st1t.ru/site:/site
commands:
- apt-get update && apt-get install -y rsync
- rsync -avz --delete site/* /site/ #cp -r site/* /site/
- echo "Deployment complete."