Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,27 @@ on:
branches:
- "*"

permissions:
pages: write
id-token: write

jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
env:
HUGO_VERSION: 0.145.0
strategy:
fail-fast: true
outputs:
vsixPath: ${{ steps.packageExtension.outputs.vsixPath }}
steps:
- name: Checkout Source
uses: actions/checkout@v4
- 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: Install Node 20
uses: actions/setup-node@v4
with:
Expand Down