Skip to content

Commit

Permalink
Temp: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
VorpalBlade committed Jul 24, 2024
1 parent 0a2cfee commit 43f341e
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/site-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- v[0-9]+.*
pull_request:
branches: [ "main" ]
workflow_dispatch:

concurrency:
Expand All @@ -28,15 +30,22 @@ jobs:
mkdir mdbook
curl -sSL $url | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- run: mkdir -p target/site/
- name: Build Book
run: |
mdbook build doc -d target/site/book
(cd doc && mdbook build -d ../target/site/book)
- name: Add static landing page
run: cp -r site/* target/site/

- name: Install Rust
run: rustup update stable && rustup default stable
- name: Cache builds
uses: Swatinem/[email protected]
with:
key: website
- name: Build Rune API docs
run: cargo --bin konfigkoll_rune -- doc --output target/site/api
- name: Add static landing page
run: cp -r site/* target/site/
run: cargo run --bin konfigkoll_rune -- doc --output target/site/api

- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
Expand Down

0 comments on commit 43f341e

Please sign in to comment.