forked from data.coop/website
Update Hugo on drone build
This commit is contained in:
parent
a2e75abdc4
commit
bedbfb17ec
|
@ -7,7 +7,7 @@ steps:
|
|||
commands:
|
||||
- apt-get update; apt-get upgrade -y
|
||||
- apt-get install -y wget git
|
||||
- wget https://github.com/gohugoio/hugo/releases/download/v0.80.0/hugo_extended_0.80.0_Linux-64bit.deb -O hugo.deb
|
||||
- wget https://github.com/gohugoio/hugo/releases/download/v0.111.2/hugo_extended_0.111.2_linux-amd64.deb -O hugo.deb
|
||||
- dpkg -i hugo.deb
|
||||
- hugo --destination _site/
|
||||
|
||||
|
@ -26,6 +26,9 @@ steps:
|
|||
when:
|
||||
branch:
|
||||
- new
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
- name: notify
|
||||
image: plugins/matrix
|
||||
|
|
Loading…
Reference in a new issue