Update .drone.yml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
dfc9aefc6d
commit
70b21a7c40
|
@ -4,7 +4,7 @@ type: docker
|
|||
name: build
|
||||
|
||||
clone:
|
||||
depth: 0 # Hämta hela historiken
|
||||
depth: 0
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
|
@ -14,10 +14,6 @@ steps:
|
|||
path: /site
|
||||
commands:
|
||||
- pip install -U -r ./requirements.txt
|
||||
# - echo "Kontrollerar att .git finns"
|
||||
- ls -la .git || (echo "ERROR: .git saknas" && exit 1)
|
||||
- echo "Kontrollerar git-historik"
|
||||
- git log -n 3 docs/index.md || (echo "Ingen historik" && exit 1)
|
||||
- mkdocs build
|
||||
- cp -r site/ /site
|
||||
- chmod -R 777 /site
|
||||
|
@ -25,4 +21,4 @@ steps:
|
|||
volumes:
|
||||
- name: site
|
||||
host:
|
||||
path: /root/sa6anw
|
||||
path: /root/sa6anw
|
Loading…
Reference in New Issue