Merge branch 'main' into api-ref

This commit is contained in:
Hieu 2023-11-23 11:49:07 +09:00 committed by GitHub
commit 0d3ec62b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View File

@ -6,7 +6,7 @@ on:
- main
paths:
- 'docs/**'
tags: ["v[0-9]+.[0-9]+.[0-9]+-docs"]
- '.github/workflows/jan-docs.yml'
pull_request:
branches:
- main
@ -78,13 +78,13 @@ jobs:
Preview URL: ${{ steps.deployCloudflarePages.outputs.url }}
- name: Add Custome Domain file
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'push' && github.event.pull_request.head.repo.full_name != github.repository
run: echo "${{ vars.DOCUSAURUS_DOMAIN }}" > ./docs/build/CNAME
# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'push' && github.event.pull_request.head.repo.full_name != github.repository
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -97,6 +97,9 @@
@apply leading-loose;
line-height: 1.5;
}
+ div {
margin-top: 12px;
}
}
}
@ -117,3 +120,7 @@
.task-list-item {
list-style: none;
}
blockquote {
margin-bottom: 12px;
}