-
Notifications
You must be signed in to change notification settings - Fork 14
34 lines (29 loc) · 730 Bytes
/
publish-wiki.yml
File metadata and controls
34 lines (29 loc) · 730 Bytes
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
name: Publish ARM Wiki Update
on:
push:
branches: [main]
paths:
- arm_wiki/**
pull_request_review:
types: [submitted]
gollum:
env:
GIT_AUTHOR_NAME: Actionbot
GIT_AUTHOR_EMAIL: actions@github.com
permissions:
contents: write
jobs:
job-sync-docs-to-wiki:
runs-on: ubuntu-latest
if: github.event_name != 'gollum'
steps:
- name: Checkout Repo
uses: actions/checkout@v5
- name: Sync arm docs to wiki
uses: newrelic/wiki-sync-action@main
with:
source: arm_wiki
destination: wiki
token: ${{ secrets.ARM_WIKI_TOKEN }}
gitAuthorName: ${{ env.GIT_AUTHOR_NAME }}
gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }}