Files
dependabot[bot] 149acf695f build(deps): bump the github-actions group across 1 directory with 2 updates
Bumps the github-actions group with 2 updates in the / directory: [docker/login-action](https://github.com/docker/login-action) and [mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action).


Updates `docker/login-action` from 4.4.0 to 4.6.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v4.4.0...v4.6.0)

Updates `mozilla-actions/sccache-action` from 0.0.10 to 0.0.11
- [Release notes](https://github.com/mozilla-actions/sccache-action/releases)
- [Commits](https://github.com/mozilla-actions/sccache-action/compare/v0.0.10...v0.0.11)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: mozilla-actions/sccache-action
  dependency-version: 0.0.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-18 07:43:18 +01:00

59 lines
1.3 KiB
YAML

name: Build Docs
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- ".github/workflows/docs.yml"
- "crates/toml2jsonc/**"
- "docs/**"
- "mkdocs-base.yml"
- "stylua.toml"
pull_request:
branches: [ "main" ]
paths:
- ".github/workflows/docs.yml"
- "crates/toml2jsonc/**"
- "docs/**"
- "mkdocs-base.yml"
- "stylua.toml"
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "true"
jobs:
build_docs:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
- name: "Install Rust"
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: "Setup sccache"
uses: mozilla-actions/sccache-action@v0.0.11
- name: Install stylua
uses: baptiste0928/cargo-install@v3
with:
crate: stylua
features: lua54
- name: Install gelatyx
uses: baptiste0928/cargo-install@v3
with:
crate: gelatyx
- name: Run build
run: |
echo "target" > .dockerignore
CI=false ./docs/build.sh
- name: Publish
if: ${{ github.event_name != 'pull_request' }}
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./assets/ci/push-gh-pages.sh