Skip to content

Create talk-ebpf-summit.md #245

Create talk-ebpf-summit.md

Create talk-ebpf-summit.md #245

Workflow file for this run

name: Generate page
on:
workflow_dispatch:
repository_dispatch:
types:
- trigger-tutorial-sync
- trigger-document-sync
pull_request:
push:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Checkout tutorial repo
uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/bpf-developer-tutorial
ref: main
path: tutorial
- name: Checkout main repository eunomia-bpf
uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/eunomia-bpf
ref: master
path: eunomia-bpf
- name: Checkout main repository GPTtrace
uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/GPTtrace
ref: main
path: GPTtrace
- name: Checkout main repository bpftime
uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/bpftime
ref: master
path: bpftime
- name: Checkout main repository llvmbpf
uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/llvmbpf
ref: main
path: llvmbpf
- name: Change suffix and merge
run: |
./rename.sh
- uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependents
run: |
pip install mkdocs-material=="9.*" mkdocs-static-i18n=="0.53"
pip install "mkdocs-material[imaging]"
pip install mkdocs-git-revision-date-localized-plugin
pip install mkdocs-git-authors-plugin
- name: Build page
if: github.event_name == 'pull_request'
run: |
mkdocs build -v
- name: Deploy page
if: |
github.event_name == 'repository_dispatch' ||
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch'
run: |
mkdocs gh-deploy -m "{sha}" --force --ignore-version --no-history