Skip to content

ci: fetch more than just the HEAD #2

ci: fetch more than just the HEAD

ci: fetch more than just the HEAD #2

Workflow file for this run

name: build
on:
push:
branches: [ main ]
jobs:
publish_web:
runs-on: ubuntu-latest
name: Publish to GitHub Pages
steps:
- uses: actions/checkout@v2
with:
# We need more that the HEAD to find the last_released_commit
# For now, we use a depth of 100 but if this is too limiting we can use the full history
fetch-depth: 100
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Setup Node.js environment
uses: actions/setup-node@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Publish
run: ./build.sh publish --web-only