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