mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 02:24:17 +00:00
update workflow
This commit is contained in:
parent
fe771d8eb5
commit
1461cab730
21
.github/workflows/sync-wiki.yml
vendored
21
.github/workflows/sync-wiki.yml
vendored
@ -26,25 +26,6 @@ jobs:
|
||||
with:
|
||||
source: docs
|
||||
destination: wiki
|
||||
token: ${{ secrets.NEWRELIC_BOT_TOKEN }}
|
||||
token: ${{ secrets.GITHUB_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