|
|
@ -12,16 +12,6 @@ trigger: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
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 |
|
|
|
- name: build hugo site |
|
|
|
# image: greglebreton/drone-hugo:arm64 |
|
|
|
# image: greglebreton/drone-hugo:arm64 |
|
|
|
image: plugins/hugo |
|
|
|
image: plugins/hugo |
|
|
@ -35,10 +25,6 @@ steps: |
|
|
|
output: ./public |
|
|
|
output: ./public |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- hugo |
|
|
|
- hugo |
|
|
|
# - /bin/drone-hugo version |
|
|
|
|
|
|
|
- ls -la |
|
|
|
|
|
|
|
# - /bin/drone-hugo |
|
|
|
|
|
|
|
# - whoami |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy site on server |
|
|
|
- name: deploy site on server |
|
|
|
image: greglebreton/drone-rsync:aarch64 |
|
|
|
image: greglebreton/drone-rsync:aarch64 |
|
|
|