diff --git a/.github/workflows/jan-docs.yml b/.github/workflows/jan-docs.yml index 2993d1525..e0b496b35 100644 --- a/.github/workflows/jan-docs.yml +++ b/.github/workflows/jan-docs.yml @@ -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 }} diff --git a/docs/src/styles/tweaks.scss b/docs/src/styles/tweaks.scss index 13a6c273a..d5d016436 100644 --- a/docs/src/styles/tweaks.scss +++ b/docs/src/styles/tweaks.scss @@ -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; +}