Skip to content

Commit

Permalink
feat: freeze os and hugo version
Browse files Browse the repository at this point in the history
  • Loading branch information
tomowang committed Apr 28, 2024
1 parent e8f01f0 commit 5ebf8d6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ defaults:
jobs:
# Build job
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
HUGO_VERSION: 0.123.6
steps:
- name: Install hugo
run: sudo snap install hugo
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 5ebf8d6

Please sign in to comment.