Skip to content

fix(task): isolate usage variables per invocation #9054

fix(task): isolate usage variables per invocation

fix(task): isolate usage variables per invocation #9054

Workflow file for this run

name: docs
on:
push:
paths:
- ".github/actions/**"
- ".github/workflows/docs.yml"
- "bun.lock"
- "docs/**"
- "mise.toml"
- "package.json"
- "registry/**"
- "settings.toml"
- "tasks.toml"
- "tasks/docs/**"
- "xtasks/docs/**"
branches:
- main
pull_request:
paths:
- ".github/actions/**"
- ".github/workflows/docs.yml"
- "bun.lock"
- "docs/**"
- "mise.toml"
- "package.json"
- "registry/**"
- "settings.toml"
- "tasks.toml"
- "tasks/docs/**"
- "xtasks/docs/**"
branches:
- main
workflow_dispatch:
concurrency:
group: docs-${{ github.head_ref }}
cancel-in-progress: true
env:
GITHUB_TOKEN: ${{ secrets.MISE_GH_TOKEN || secrets.GITHUB_TOKEN }}
jobs:
docs:
if: github.repository == 'jdx/mise'
runs-on: namespace-profile-endev-linux-amd64;overrides.cache-tag=mise-pr-rust-linux
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0 # for lastUpdated
- uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4
with:
install_args: bun
- run: mise x wait-for-gh-rate-limit -- wait-for-gh-rate-limit
- run: bun i
- run: mise run docs:release
env:
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_SECRET_ACCESS_KEY }}
DRY_RUN: ${{ github.event_name != 'push' || github.ref != 'refs/heads/main' }}