mirror of
https://github.com/tiann/KernelSU.git
synced 2025-02-20 11:43:32 +08:00
Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/configure-pages/releases">actions/configure-pages's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <h1>Changelog</h1> <ul> <li>Attempt to auto-detect configuration files with varying file extensions <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/139">#139</a>)</li> <li>Convert errors into Actions-compatible logging with annotations <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/138">#138</a>)</li> <li>Bump <code>@actions/github</code> from 5.1.1 to 6.0.0 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/123">#123</a>)</li> <li>Bump the non-breaking-changes group with 2 updates <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/136">#136</a>)</li> <li>Update the Next.js configuration for v14 <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/137">#137</a>)</li> <li>Bump the non-breaking-changes group with 3 updates <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/132">#132</a>)</li> <li>Bump release-drafter/release-drafter from 5 to 6 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/133">#133</a>)</li> <li>Bump github/codeql-action from 2 to 3 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/127">#127</a>)</li> <li>Bump actions/checkout from 3 to 4 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/120">#120</a>)</li> <li>Bump actions/setup-node from 3 to 4 <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/118">#118</a>)</li> <li>Bump the non-breaking-changes group with 1 update <a href="https://github.com/dependabot"><code>@dependabot</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/131">#131</a>)</li> <li>Update Dependabot config to group non-breaking changes <a href="https://github.com/JamesMGreene"><code>@JamesMGreene</code></a> (<a href="https://redirect.github.com/actions/configure-pages/issues/130">#130</a>)</li> </ul> <p>See details of <a href="https://github.com/actions/configure-pages/compare/v4.0.0...v5.0.0">all code changes</a> since previous release.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="983d7736d9
"><code>983d773</code></a> Merge pull request <a href="https://redirect.github.com/actions/configure-pages/issues/139">#139</a> from actions/config-auto-detect</li> <li><a href="9cf6e24f74
"><code>9cf6e24</code></a> Tweak comment</li> <li><a href="f304bd89be
"><code>f304bd8</code></a> Update distributables</li> <li><a href="215cd51eb0
"><code>215cd51</code></a> Attempt to detect existing config files matching the expected basename plus o...</li> <li><a href="e9382ac9ad
"><code>e9382ac</code></a> Front-load the file extension warning</li> <li><a href="7781abd34b
"><code>7781abd</code></a> Merge pull request <a href="https://redirect.github.com/actions/configure-pages/issues/138">#138</a> from actions/error-utils</li> <li><a href="fc47e3c838
"><code>fc47e3c</code></a> Update distributables</li> <li><a href="9c9f8a266f
"><code>9c9f8a2</code></a> Update tests to use the Octokit RequestError class</li> <li><a href="9a4705d653
"><code>9a4705d</code></a> Update distributables</li> <li><a href="f6ded38287
"><code>f6ded38</code></a> Fix syntax error and formatting</li> <li>Additional commits viewable in <a href="https://github.com/actions/configure-pages/compare/v4...v5">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
name: Deploy Website
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- website
|
|
paths:
|
|
- '.github/workflows/deploy-website.yml'
|
|
- 'website/**'
|
|
workflow_dispatch:
|
|
|
|
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
concurrency:
|
|
group: pages
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
# Build job
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: ./website
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # Not needed if lastUpdated is not enabled
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: yarn # or pnpm / yarn
|
|
cache-dependency-path: website/yarn.lock
|
|
- name: Setup Pages
|
|
uses: actions/configure-pages@v5
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
- name: Build with VitePress
|
|
run: |
|
|
yarn docs:build
|
|
touch docs/.vitepress/dist/.nojekyll
|
|
- name: Upload artifact
|
|
uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: website/docs/.vitepress/dist
|
|
|
|
# Deployment job
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
needs: build
|
|
runs-on: ubuntu-latest
|
|
name: Deploy
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v4
|