mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
19 lines
534 B
YAML
19 lines
534 B
YAML
name: Check Website
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "current-docs"
|
|
- "master"
|
|
jobs:
|
|
check-website:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4.1.6
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: cachix/install-nix-action@v27
|
|
- name: Set current version
|
|
run: echo "DOCSPELL_VERSION=$(cat version.sbt | grep version | cut -d= -f2 | xargs)" >> $GITHUB_ENV
|
|
- name: Build website (${{ env.DOCSPELL_VERSION }})
|
|
run: nix develop .#ci --command sbt make-website
|