Nightly #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly | |
on: | |
schedule: | |
- cron: '0 12 * * *' | |
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' | |
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 script | |
run: pnpm run docgen | |
- name: Create Pull Request | |
id: createpr | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
branch: ci/docgen | |
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }} | |
add-paths: src/content/docs/en/reference/*.mdx | |
commit-message: 'ci: update reference docs' | |
title: 'ci: update reference docs' | |
body: | | |
This PR is auto-generated by a nightly GitHub action to update the reference docs from source code in withastro/astro. | |
labels: ci | |
error: | |
name: Generate Error Reference 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 script | |
run: pnpm run docgen:errors | |
- name: Create Pull Request | |
id: createpr | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
branch: ci/docgen-errors | |
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }} | |
add-paths: src/content/docs/en/reference/*.mdx | |
commit-message: 'ci: update error reference docs' | |
title: 'ci: update error reference docs' | |
body: | | |
This PR is auto-generated by a nightly GitHub action to update the error reference docs from source code in withastro/astro. | |
labels: ci |