Skip to content

Commit

Permalink
ci: fix default branch and bump setup-go to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
imfing authored Feb 6, 2024
1 parent 191c350 commit 8301444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy Hugo site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: [$default-branch]
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
fetch-depth: 0 # fetch all history for .GitInfo and .Lastmod
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Setup Pages
Expand Down

0 comments on commit 8301444

Please sign in to comment.