Download hugo from releases in workflow
This commit is contained in:
parent
73ed73a26a
commit
98d18c3cef
1 changed files with 3 additions and 1 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -9,7 +9,9 @@ jobs:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Install Hugo
|
- 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
|
- name: Run Hugo
|
||||||
working-directory: exampleSite
|
working-directory: exampleSite
|
||||||
|
|
Loading…
Reference in a new issue