Skip to content

Commit ba752fc

Browse files
committed
Switch workflows for docusaurus deployment
1 parent a63997c commit ba752fc

19 files changed

+22
-21
lines changed

.github/workflows/docusaurus-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches:
6-
- docusaurus-migration
6+
- main
77
# Review gh actions docs if you want to further define triggers, paths, etc
88
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
99

.github/workflows/docusaurus-test-deploy.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
name: Test deployment
22

33
on:
4-
push:
5-
branches:
6-
- docusaurus-migration
74
pull_request:
85
branches:
9-
- docusaurus-migration
6+
- main
107
# Review gh actions docs if you want to further define triggers, paths, etc
118
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
129

.github/workflows/jekyll-gh-pages.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# documentation.
55

66
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7-
name: Deploy Jekyll site to Pages
7+
name: Deploy Jekyll site to Pages - Manual (DISABLED - Migrated to Docusaurus)
88

99
on:
10-
# Runs on pushes targeting the default branch
11-
# push:
12-
# branches: ["main"]
10+
# DISABLED - This workflow has been replaced by docusaurus-deploy.yml
11+
# To re-enable, uncomment the trigger below
12+
# workflow_dispatch:
1313

14-
15-
# Allows you to run this workflow manually from the Actions tab
16-
workflow_dispatch:
14+
# Temporary: Set to an impossible event to effectively disable
15+
push:
16+
branches: ["never-will-exist-branch-jekyll-gh-pages-disabled"]
1717

1818
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1919
permissions:

.github/workflows/jekyll.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@
44
# documentation.
55

66
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7-
name: Deploy Jekyll site to Pages
7+
name: Deploy Jekyll site to Pages (DISABLED - Migrated to Docusaurus)
88

99
on:
10-
# Runs on pushes targeting the default branch
10+
# DISABLED - This workflow has been replaced by docusaurus-deploy.yml
11+
# To re-enable, uncomment the triggers below
12+
# push:
13+
# branches: ["main"]
14+
15+
# workflow_dispatch:
16+
17+
# Temporary: Set to an impossible branch to effectively disable
1118
push:
12-
branches: ["main"]
13-
14-
# Allows you to run this workflow manually from the Actions tab
15-
workflow_dispatch:
19+
branches: ["never-will-exist-branch-jekyll-disabled"]
1620

1721
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1822
permissions:

docusaurus/openchoreo/docusaurus.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const config: Config = {
1818
url: 'https://openchoreo.dev',
1919
// Set the /<baseUrl>/ pathname under which your site is served
2020
// For GitHub pages deployment, it is often '/<projectName>/'
21-
baseUrl: '/openchoreo.github.io/', // TODO: Update this once merged to upstream
21+
baseUrl: '/',
2222
// Set true for GitHub pages deployment.
2323
trailingSlash: true,
2424

@@ -49,7 +49,7 @@ const config: Config = {
4949
// Please change this to your repo.
5050
// Remove this to remove the "edit this page" links.
5151
editUrl:
52-
'https://github.com/openchoreo/openchoreo.github.io/tree/main/',
52+
'https://github.com/openchoreo/openchoreo.github.io/tree/main/docusaurus/openchoreo/',
5353
},
5454
blog: {
5555
showReadingTime: true,
@@ -60,7 +60,7 @@ const config: Config = {
6060
// Please change this to your repo.
6161
// Remove this to remove the "edit this page" links.
6262
editUrl:
63-
'https://github.com/openchoreo/openchoreo.github.io/tree/main/',
63+
'https://github.com/openchoreo/openchoreo.github.io/tree/main/docusaurus/openchoreo/',
6464
// Useful options to enforce blogging best practices
6565
onInlineTags: 'warn',
6666
onInlineAuthors: 'warn',
20 KB
Loading

img/logos/op-Logos-01.webp

-37.1 KB
Binary file not shown.

img/logos/op-Logos-02.webp

-35.5 KB
Binary file not shown.

img/logos/op-Logos-03.webp

-28 KB
Binary file not shown.

img/logos/op-Logos-04.webp

-24.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)