chore: migrate workflows from .github to .gitea
Build and Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-05-22 17:37:38 -07:00
parent 3c162a76fc
commit 7b38cf93ee
2 changed files with 1 additions and 1 deletions
+53
View File
@@ -0,0 +1,53 @@
name: Build and Deploy
on:
push:
branches: ["main", "master"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
REGISTRY: git.rodydavis.dev
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.7.1
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Set up Bazel (Bazelisk)
run: npm install -g @bazel/bazelisk
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Verify Hermetic Bazel Build
run: bazel build //...
- name: Build Site
run: pnpm run build --base=/rodydavis/lit-examples/
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
publish_dir: dist