Files
bpf-developer-tutorial/.github/workflows/trigger-sync.yml
云微 39e3f59119 ci: support Rust 1.97 and modernize workflows (#210)
* Modernize workflow actions and permissions

* Test the fentry tutorial in CI

* Support Rust 1.97 symbol mangling

* Limit documentation writes to main

* Harden Rust symbol resolution

---------

Co-authored-by: LinuxDev9002 <i@littlefisher.me>
2026-07-14 03:58:41 -07:00

43 lines
951 B
YAML

name: Test and trigger downstream tutorial sync
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Checkout website repo
uses: actions/checkout@v7
with:
repository: ${{ github.repository_owner }}/eunomia.dev
ref: main
path: ./.
- uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Install all
run: |
make install
- name: Test page build
run: |
.venv/bin/mkdocs build -v
- name: Trigger sync workflow
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.PAT }}
repository: ${{ github.repository_owner }}/eunomia.dev
event-type: trigger-tutorial-sync