diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 6a0fd0b..d121485 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -1,7 +1,7 @@ name: Pr preview on: - pull_request: + pull_request_target: jobs: build-and-deploy: @@ -16,6 +16,8 @@ jobs: - name: Checkout Documentation Repository (ivorysql_doc) uses: actions/checkout@v4 with: + ref: ${{ github.event.pull_request.head.sha }} + repository: ${{ github.event.pull_request.head.repo.full_name }} path: ivorysql_doc - name: Fetch All Relevant Branches into Local Docs Repo diff --git a/CN/modules/ROOT/pages/v4.4/15.adoc b/CN/modules/ROOT/pages/v4.4/15.adoc index 440cd63..515095b 100644 --- a/CN/modules/ROOT/pages/v4.4/15.adoc +++ b/CN/modules/ROOT/pages/v4.4/15.adoc @@ -120,7 +120,7 @@ HINT: Perhaps you need a different "datestyle" setting. ivorysql=# select * from test_nls_date; a | created_at ---+------------ - 1 | 2024-04-05 - 2 | 2024-04-15 + 1 | 24-04-05 + 2 | 24-04-15 (2 rows) ``` \ No newline at end of file diff --git a/EN/modules/ROOT/pages/v4.4/15.adoc b/EN/modules/ROOT/pages/v4.4/15.adoc index e4e3fa6..4ca6763 100644 --- a/EN/modules/ROOT/pages/v4.4/15.adoc +++ b/EN/modules/ROOT/pages/v4.4/15.adoc @@ -119,7 +119,7 @@ HINT: Perhaps you need a different "datestyle" setting. ivorysql=# select * from test_nls_date; a | created_at ---+------------ - 1 | 2024-04-05 - 2 | 2024-04-15 + 1 | 24-04-05 + 2 | 24-04-15 (2 rows) ``` \ No newline at end of file