docs: api page fix and workflow run fix (#2675)

* Fetched updated docs

* Fixed GitHub workflow for fetching docs
This commit is contained in:
Lucas Oliveira 2024-07-12 19:14:28 -03:00 committed by GitHub
commit 138552d7b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 26 additions and 55 deletions

View file

@ -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.