Skip to content

Commit

Permalink
commit doc changes again
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Mar 22, 2024
1 parent c8eac3d commit cd3420a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,18 @@ jobs:
steps:
# Create an access token for the Github Actions Bot app. This one has permissions
# to push directly to this repository (only!) without required status checks.
# - uses: actions/create-github-app-token@v1
# id: github-actions-bot-app-token
# with:
# app-id: 48725422
# private-key: ${{ secrets.APOLLO_GITHUB_ACTIONS_BOT_PRIVATE_KEY }}
# repositories: ${{ github.repository }}
# owner: ${{ github.repository_owner }}
- uses: actions/create-github-app-token@v1
id: github-actions-bot-app-token
with:
app-id: 819772
private-key: ${{ secrets.APOLLO_GITHUB_ACTIONS_BOT_PRIVATE_KEY }}

# Check out the repository, using the Github Actions Bot app's token so that we
# can push later and override required statuses.
- name: Checkout repo
uses: actions/checkout@v4
# with:
# token: ${{ steps.github-actions-bot-app-token.outputs.token }}
with:
token: ${{ steps.github-actions-bot-app-token.outputs.token }}

- name: Setup Node.js 18.x
uses: actions/setup-node@v4
Expand All @@ -45,17 +43,9 @@ jobs:
yarn workspaces foreach --all --include "@apollo/*" exec api-extractor run
yarn workspace monorepo docs
# - name: Commit changes back
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "Update Docs"
# push_options: ""
# skip_dirty_check: false

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
- name: Commit changes back
uses: stefanzweifel/git-auto-commit-action@v5
with:
title: "[chore] Update Docs"
commit-message: "Update Docs"
branch: "pr/update-docs"
delete-branch: true
commit_message: "Update Docs"
push_options: ""
skip_dirty_check: false
1 change: 1 addition & 0 deletions docs/experimental-nextjs-app-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

## experimental-nextjs-app-support package

This will trigger a documentation rebuild.

## Classes

Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ It can also be used to use Apollo Client with a custom streaming SSR setup, e.g.

</td><td>

This will trigger a documentation rebuild.


</td></tr>
Expand Down

0 comments on commit cd3420a

Please # to comment.