forked from ofiwg/libfabric
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 992 Bytes
/
gh-man.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: GH Man Page Updater
on:
push:
branches:
- main
paths:
- 'man/*.md'
- 'fabtests/man/*.md'
workflow_dispatch:
jobs:
gh-man-update:
name: GH Man Page Updater
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Debug information
env:
GITHUB_DATA: ${{ toJSON(github) }}
run: |
echo This is information that may be useful for debugging.
echo "$GITHUB_DATA"
- name: Check out the git repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Update the man pages in branch gh-pages
run: .github/workflows/gh-man.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.event.repository.full_name }}
BASE_REF: ${{ github.event.repository.default_branch }}