mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 10:45:41 +01:00
Set up go beforehand
This commit is contained in:
parent
0641a86e5f
commit
42874fd991
1 changed files with 4 additions and 0 deletions
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
|
@ -29,6 +29,9 @@ jobs:
|
|||
env:
|
||||
HUGO_VERSION: 0.111.3
|
||||
steps:
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.21.1'
|
||||
- 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 \
|
||||
|
@ -61,6 +64,7 @@ jobs:
|
|||
- name: Syndicate
|
||||
run: |
|
||||
cd tools/syndicate
|
||||
go mod download
|
||||
go run .
|
||||
if git diff-index --quiet HEAD; then
|
||||
echo "No syndication changes made"
|
||||
|
|
Loading…
Reference in a new issue