mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
added github workflows
This commit is contained in:
parent
b57ab5f4a8
commit
fe771d8eb5
3
.github/funding.yml
vendored
Executable file
3
.github/funding.yml
vendored
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
open_collective: ragestudio
|
||||||
|
patreon: ragestudio
|
||||||
|
custom: ["https://www.paypal.com/donate/?hosted_button_id=S4TWMAN79KC76"]
|
50
.github/workflows/sync-wiki.yml
vendored
Normal file
50
.github/workflows/sync-wiki.yml
vendored
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
name: Documentation
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- "docs/**"
|
||||||
|
repository_dispatch:
|
||||||
|
types: [docs]
|
||||||
|
gollum:
|
||||||
|
|
||||||
|
env:
|
||||||
|
GIT_AUTHOR_NAME: Actionbot
|
||||||
|
GIT_AUTHOR_EMAIL: actions@github.com
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
job-sync-docs-to-wiki:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name != 'gollum'
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Sync docs to wiki
|
||||||
|
uses: newrelic/wiki-sync-action@main
|
||||||
|
with:
|
||||||
|
source: docs
|
||||||
|
destination: wiki
|
||||||
|
token: ${{ secrets.NEWRELIC_BOT_TOKEN }}
|
||||||
|
gitAuthorName: ${{ env.GIT_AUTHOR_NAME }}
|
||||||
|
gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }}
|
||||||
|
|
||||||
|
job-sync-wiki-to-docs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'gollum'
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.NEWRELIC_BOT_TOKEN }} # allows us to push back to repo
|
||||||
|
ref: master
|
||||||
|
- name: Sync Wiki to Docs
|
||||||
|
uses: newrelic/wiki-sync-action@main
|
||||||
|
with:
|
||||||
|
source: wiki
|
||||||
|
destination: docs
|
||||||
|
token: ${{ secrets.NEWRELIC_BOT_TOKEN }}
|
||||||
|
gitAuthorName: ${{ env.GIT_AUTHOR_NAME }}
|
||||||
|
gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }}
|
||||||
|
branch: master
|
Loading…
x
Reference in New Issue
Block a user