diff --git a/.github/workflows/sync-wiki.yml b/.github/workflows/sync-wiki.yml index 920c8fa..ec91f39 100644 --- a/.github/workflows/sync-wiki.yml +++ b/.github/workflows/sync-wiki.yml @@ -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