Skip to content
This repository was archived by the owner on Mar 22, 2026. It is now read-only.

迁移 ArmorStand

迁移 ArmorStand #5

name: Deploy TouchControllerWiki site
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.14.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build
run: bazel build //touchcontroller/wiki
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: bazel-bin/touchcontroller/wiki/wiki
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