-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into refactor-plugins
- Loading branch information
Showing
202 changed files
with
7,093 additions
and
756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: mise-docs | ||
|
||
on: | ||
push: | ||
paths: | ||
- "docs/**" | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- "docs/**" | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: mise-docs-release-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
MISE_EXPERIMENTAL: 1 | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # for lastUpdated | ||
- uses: jdx/mise-action@v2 | ||
with: | ||
install_args: bun | ||
working_directory: docs | ||
- run: bun install | ||
working-directory: docs | ||
- run: bun run docs:build | ||
working-directory: docs | ||
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
run: mise run release-docs | ||
working-directory: docs | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_SECRET_ACCESS_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"MD004": false, | ||
"MD013": false, | ||
"MD029": false, | ||
"MD033": false, | ||
"MD040": false, | ||
"MD041": false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
set -xeuo pipefail | ||
|
||
export AWS_REGION=auto | ||
export AWS_ENDPOINT_URL=https://6e243906ff257b965bcae8025c2fc344.r2.cloudflarestorage.com | ||
|
||
bun run docs:build | ||
|
||
if [ $((RANDOM % 30)) -eq 0 ]; then | ||
# delete old assets only roughly 1/30 times | ||
# deleting old assets can break the site for people currently on it | ||
# but it's also good to keep things tidy | ||
aws s3 rm --recursive s3://mise/assets/ | ||
aws s3 rm --recursive --exclude "*" --include "*.html" s3://mise/ | ||
fi | ||
|
||
aws s3 cp --recursive .vitepress/dist s3://mise/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.