Merge pull request 'Exclude PRs from deploy + update Hugo on drone build' (#69) from benjaoming/website:fix-drone-maybe into new
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #69
This commit is contained in:
commit
002931d602
|
@ -7,7 +7,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apt-get update; apt-get upgrade -y
|
- apt-get update; apt-get upgrade -y
|
||||||
- apt-get install -y wget git
|
- 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
|
- dpkg -i hugo.deb
|
||||||
- hugo --destination _site/
|
- hugo --destination _site/
|
||||||
|
|
||||||
|
@ -26,6 +26,9 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- new
|
- new
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
|
|
Loading…
Reference in a new issue