Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[i18nIgnore] Integration READMEs in docs! #5839

Merged
merged 11 commits into from
Dec 21, 2023
Merged
29 changes: 0 additions & 29 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,6 @@ on:
workflow_dispatch:

jobs:
integrations:
name: Generate Integration Docs
if: github.repository_owner == 'withastro'
runs-on: ubuntu-latest
steps:
- name: Check out code using Git
uses: actions/checkout@v3

- name: Install Tools & Dependencies
uses: ./.github/actions/install

- name: Run docgen:integrations script
run: pnpm run docgen:integrations
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Pull Request
id: createpr
uses: peter-evans/create-pull-request@v3
with:
branch: ci/docgen-integrations
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
add-paths: src/content/docs/en/guides/integrations-guide/*.mdx
commit-message: 'ci: update integration docs'
title: 'ci: update integration docs'
body: |
This PR is auto-generated by a nightly GitHub action to update the individual integration pages from the integration READMEs in withastro/astro.
labels: ci

docgen:
name: Generate Reference Docs
if: github.repository_owner == 'withastro'
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"add-language": "node ./scripts/add-language.mjs",
"docgen": "node ./scripts/docgen.mjs",
"docgen:errors": "node ./scripts/error-docgen.mjs",
"docgen:integrations": "tsm --require=./scripts/lib/filter-warnings.cjs ./scripts/generate-integration-pages.ts",
"lint:a11y": "start-test 'yarn build && yarn preview' 3000 'yarn lint:a11y:local'",
"lint:a11y:local": "pa11y-ci --sitemap 'http://localhost:3000/sitemap.xml' --sitemap-find 'https://docs.astro.build' --sitemap-replace 'http://localhost:3000'",
"lint:a11y:remote": "pa11y-ci --sitemap 'https://docs.astro.build/sitemap.xml'",
Expand Down
Loading
Loading