Skip to content

Commit

Permalink
Try web download for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymkt committed Dec 3, 2024
1 parent 48d33c5 commit e1dac95
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
steps:
- name: Install Hugo CLI
run: |
choco install hugo-extended
$url = "https://github.com/gohugoio/hugo/releases/latest/download/hugo_extended_0.139.3_windows-amd64.zip"
Invoke-WebRequest -Uri $url -OutFile "hugo.zip"
Expand-Archive hugo.zip -DestinationPath "hugo"
echo "$PWD\hugo" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseURL: "https://example.org/"
title: "UI Navigation"
cleanDestinationDir: true
publishDir: HTML
publishDir: "HTML"
2 changes: 1 addition & 1 deletion layouts/shortcodes/audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{- with .Get "source" }}
{{- $source = . }}
{{- else }}
{{- errorf "%q shortcode requires source argument. %s" .Name .Position }}
{{- errorf "%q shortcode requires the source argument. %s" .Name .Position }}
{{- end -}}
<div>
<audio controls="controls">
Expand Down

0 comments on commit e1dac95

Please sign in to comment.