aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-22 23:14:15 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-08-22 23:14:55 +0200
commit98d18c3cef33d77228b4e4c5c47f1289d1725a0a (patch)
treed641529626c8d94b7c24858803b65cff0aa5a6bb /.github/workflows
parent73ed73a26acc998d7e05c089c9be85c2309a2f2e (diff)
Download hugo from releases in workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 85c088b..126a743 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -9,7 +9,9 @@ jobs:
- uses: actions/checkout@master
- name: Install Hugo
- run: sudo apt-get install hugo
+ run: |
+ wget https://github.com/gohugoio/hugo/releases/download/v0.57.2/hugo_0.57.2_Linux-64bit.deb -O /tmp/hugo.deb
+ sudo dpkg -i /tmp/hugo.deb
- name: Run Hugo
working-directory: exampleSite