mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 01:59:56 -05:00
📜 Docusaurus config for gh-pages (#6386)
* docusaurus config for gh-pages * [autofix.ci] apply automated fixes * workflow * deploy:docs * using github actions bot as name * release notes * adding jekyll to excludes * nojeklyll * setup first then deploy --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
1
.github/actions/docs-spelling/excludes.txt
vendored
1
.github/actions/docs-spelling/excludes.txt
vendored
@@ -72,5 +72,6 @@ ignore$
|
||||
(?:^|/)yarn\.lock$
|
||||
(?:^|/)(?i)docusaurus.config.js
|
||||
(?:^|/)(?i)README.md
|
||||
(?:^|/)(?i).nojekyll
|
||||
^\static/
|
||||
\.tsx$
|
||||
|
||||
30
.github/workflows/docs-release.yml
vendored
Normal file
30
.github/workflows/docs-release.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Release Docs to Github Pages
|
||||
|
||||
# Release docs on every push to master
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "packages/docs/**"
|
||||
- ".github/workflows/docs-spelling.yml"
|
||||
- ".github/actions/docs-spelling/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
name: Deploy Docs
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
|
||||
- name: Set up environment
|
||||
uses: ./.github/actions/setup
|
||||
|
||||
- name: Docusaurus Deploy
|
||||
run: |
|
||||
GIT_USER=MikesGlitch \
|
||||
GIT_PASS=${{ secrets.DOCS_GITHUB_PAGES_DEPLOY }} \
|
||||
GIT_USER_NAME=github-actions[bot] \
|
||||
GIT_USER_EMAIL=github-actions[bot]@users.noreply.github.com \
|
||||
yarn deploy:docs
|
||||
@@ -40,6 +40,7 @@
|
||||
"build:plugins-service": "yarn workspace plugins-service build",
|
||||
"build:api": "yarn workspace @actual-app/api build",
|
||||
"build:docs": "yarn workspace docs build",
|
||||
"deploy:docs": "yarn workspace docs deploy",
|
||||
"generate:i18n": "yarn workspace @actual-app/web generate:i18n",
|
||||
"generate:release-notes": "ts-node ./bin/release-note-generator.ts",
|
||||
"test": "lage test --continue",
|
||||
|
||||
@@ -17,6 +17,10 @@ module.exports = {
|
||||
onBrokenLinks: 'throw',
|
||||
favicon: 'img/favicon.ico',
|
||||
|
||||
projectName: 'actualbudget.github.io',
|
||||
organizationName: 'actualbudget',
|
||||
deploymentBranch: 'main',
|
||||
|
||||
// Even if you don't use internalization, you can use this field to set useful
|
||||
// metadata like html lang. For example, if your site is Chinese, you may want
|
||||
// to replace "en" with "zh-Hans".
|
||||
|
||||
0
packages/docs/static/.nojekyll
vendored
Normal file
0
packages/docs/static/.nojekyll
vendored
Normal file
7
upcoming-release-notes/6386.md
Normal file
7
upcoming-release-notes/6386.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [MikesGlitch]
|
||||
---
|
||||
|
||||
Workflow and config added for docs site move to Github Pages
|
||||
|
||||
Reference in New Issue
Block a user