From 98d18c3cef33d77228b4e4c5c47f1289d1725a0a Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 22 Aug 2019 23:14:15 +0200 Subject: [PATCH] Download hugo from releases in workflow --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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