This commit is contained in:
Juli 2024-07-22 22:20:01 +03:00
parent b16d2fe8ca
commit 594e8920aa

View file

@ -1,24 +1,39 @@
steps:
build:
- name : build
- name: build
image: python
commands:
- ls
- 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
- name: push commit
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: main
local_ref: main
path: mkdocs/
- 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
#steps:
# build:
# - name : build
# image: python
# commands:
# - ls
# - 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
#
# - name: push commit
# image: appleboy/drone-git-push
# settings:
# remote_name: origin
# branch: main
# local_ref: main
# path: mkdocs/