|
|
|
@ -12,16 +12,6 @@ trigger: |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
|
|
# - name: git pull submodules |
|
|
|
|
# image: alpine/git |
|
|
|
|
# # settings: |
|
|
|
|
# # user: |
|
|
|
|
# # from_secret: GIT_USER |
|
|
|
|
# # password: |
|
|
|
|
# # from_secret: GIT_PASSWORD |
|
|
|
|
# commands: |
|
|
|
|
# - git submodule update --init --recursive |
|
|
|
|
|
|
|
|
|
- name: build hugo site |
|
|
|
|
# image: greglebreton/drone-hugo:arm64 |
|
|
|
|
image: plugins/hugo |
|
|
|
@ -35,10 +25,6 @@ steps: |
|
|
|
|
output: ./public |
|
|
|
|
commands: |
|
|
|
|
- hugo |
|
|
|
|
# - /bin/drone-hugo version |
|
|
|
|
- ls -la |
|
|
|
|
# - /bin/drone-hugo |
|
|
|
|
# - whoami |
|
|
|
|
|
|
|
|
|
- name: deploy site on server |
|
|
|
|
image: greglebreton/drone-rsync:aarch64 |
|
|
|
|