test
This commit is contained in:
parent
b16d2fe8ca
commit
594e8920aa
1 changed files with 31 additions and 16 deletions
|
@ -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/
|
Loading…
Reference in a new issue