This commit is contained in:
30
.drone.yml
Normal file
30
.drone.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init --recursive --remote
|
||||
|
||||
- name: hugo
|
||||
image: hugomods/hugo:latest
|
||||
pull: always
|
||||
commands:
|
||||
- echo "Checking Hugo version."
|
||||
- hugo version
|
||||
- cd /drone/src
|
||||
- hugo
|
||||
- ls -al /drone/src/public
|
||||
|
||||
- name: docker
|
||||
# See docs at https://plugins.drone.io/plugins/docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: gitea_username
|
||||
password:
|
||||
from_secret: gitea_password
|
||||
repo: git.qx9.de/christian/christian-weimann.de
|
||||
registry: git.qx9.de
|
||||
Reference in New Issue
Block a user