moved github action to use hugo directly
This commit is contained in:
10
.github/workflows/hugo.yaml
vendored
10
.github/workflows/hugo.yaml
vendored
@@ -23,13 +23,11 @@ defaults:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
HUGO_VERSION: 0.128.0
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Setup Hugo
|
||||||
run: |
|
uses: peaceiris/actions-hugo@v3
|
||||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
|
with:
|
||||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
hugo-version: "latest"
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user