Commit Graph

6 Commits

Author SHA1 Message Date
AzurCrystal 5bb893c04e remove drone-hugo validate arg
The dependence of drone-hugo validate, hugo check, was removed since v0.92.0.
  As the hugo check does nothing in fact, a removal of command validate
  could be considered.

  - removed command validate in main.go and plugin_test.go
  - removed unused github.com/pkg/errors in plugin_test.go
2022-08-03 00:12:34 +08:00
Thomas Boerger b4fa179180
Compile Hugo on our own, fix extended version and refactoring
Since the extended version is only available for amd64 I have started to
build Hugo on our own in a multi stage Dockerfile. Now we are installing
both binaries, regular hugo and extended hugo, bundled into the Docker
image.

Beside that the download for regular hugo and extended hugo should also
be more solid now.

After that I have also added more aliases for the environment variables.
As mentioned on some GitHub issue we are also installing more required
packages for a downloaded extended Hugo version as this relies on
libc6-compat and libstdc++.
2020-05-15 02:13:51 +02:00
Robert Kaussow ca074536f9 fix env var naming 2019-07-07 21:23:02 +02:00
Jens True 1f5cdffd0b Added the hugoExtended 2019-04-25 10:48:42 +02:00
Thomas Boerger 189358b8ff
Fix imports 2019-02-18 23:42:01 +01:00
Thomas Boerger d2c5ed8ad7
Move main package to top directory as the other plugins 2019-02-15 11:54:41 +01:00