Build Hugo via klakegg/hugo:0.87.0 container instead of downloading the binary
Build and deploy the poweronoff.click hugo / build (push) Successful in 59s
Build and deploy the poweronoff.click hugo / build (push) Successful in 59s
This commit is contained in:
1 parent
a4c6d45302
commit
7e0920ec1c
1 file changed
+1
-6
@@ -15,13 +15,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Setup Hugo
|
|
||||||
uses: peaceiris/actions-hugo@v3
|
|
||||||
with:
|
|
||||||
hugo-version: "0.87.0"
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo
|
uses: docker://klakegg/hugo:0.87.0
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
|
|||||||
Reference in new issue
Block a user