docs: api page fix and workflow run fix (#2675)
* Fetched updated docs * Fixed GitHub workflow for fetching docs
This commit is contained in:
parent
e29e3624f7
commit
138552d7b5
15 changed files with 26 additions and 55 deletions
7
.github/workflows/fetch_docs_notion.yml
vendored
7
.github/workflows/fetch_docs_notion.yml
vendored
|
|
@ -12,6 +12,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "DATE=date::$(date +'%Y%m%d%H%M%S')" >> "$GITHUB_OUTPUT
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -28,7 +31,7 @@ jobs:
|
|||
|
||||
- name: Create new branch
|
||||
run: |
|
||||
git checkout -b update-docs-$(date +%Y%m%d%H%M%S)
|
||||
git checkout -b update-docs-${{ steps.date.outputs.DATE }}
|
||||
|
||||
- name: Cache Node.js dependencies
|
||||
uses: actions/cache@v4
|
||||
|
|
@ -70,7 +73,7 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-message: Update docs from Notion
|
||||
branch: update-docs-$(date +%Y%m%d%H%M%S)
|
||||
branch: update-docs-${{ steps.date.outputs.DATE }}
|
||||
base: main
|
||||
title: "docs: update docs from notion"
|
||||
body: This PR updates the documentation from Notion.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue