This commit is contained in:
Juli 2024-07-22 22:17:14 +03:00
parent 6413af87bc
commit a2d76f1706

View file

@ -3,20 +3,21 @@ steps:
image: python
commands:
- ls
- git clone git@git.gay:Julimiro/pages.git mkdocs/
- git clone https://git.gay/Julimiro/pages.git mkdocs/
- pip install mkdocs-material
- python -m mkdocs build
- cd site
- git config --global user.email "juli@julimiro.eu"
- git config --global user.name "Woodpecker automation"
- git add .
- git commit -m "Automatic build from woodpecker"
- git push --set-upstream origin main
#push:
# - name: push commit
#image: appleboy/drone-git-push
#settings:
# remote_name: origin
#branch: main
#local_ref: gh-pages
#path: path/to/repo
#- cd site
#- git config --global user.email "juli@julimiro.eu"
#- git config --global user.name "Woodpecker automation"
#- git add .
#- git commit -m "Automatic build from woodpecker"
#- git push --set-upstream origin main
push:
- name: push commit
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: main
local_ref: main
path: mkdocs/