Skip to content

Commit

Permalink
Update wikisync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bleonheart committed Jan 4, 2024
1 parent 1166c57 commit bb76de3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/wikisync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Documentation Sync

on:
push:

env:
GIT_AUTHOR_NAME: Actionbot
GIT_AUTHOR_EMAIL: actions@github.com
Expand Down Expand Up @@ -45,13 +45,11 @@ jobs:
- name: Sync docs to wiki
uses: newrelic/wiki-sync-action@main
with:
branch: main
source: docs
destination: wiki
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'
Expand All @@ -66,5 +64,4 @@ jobs:
destination: docs
token: ${{ secrets.GITHUB_TOKEN }}
gitAuthorName: ${{ env.GIT_AUTHOR_NAME }}
gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }}
branch: main
gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }}

0 comments on commit bb76de3

Please sign in to comment.