Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@ on:
# Only run action if changes have been made
# to the documentation or components packages
paths:
- "packages/documentation/**"
- "packages/components/**"
- 'packages/documentation/**'
- 'packages/components/**'
- '.github/workflows/docs-deploy.yml'
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.13.0'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
# Setup yarn 2 cache: https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Setup Cache
uses: actions/cache@v2
uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
12 changes: 0 additions & 12 deletions packages/documentation/data-migration.md

This file was deleted.

4 changes: 2 additions & 2 deletions packages/documentation/docusaurus.config.gh-pages.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
title: 'OneArmy Community Platform',
tagline: 'Developer Documentation',
url: 'https://onearmy.github.io/community-platform',
url: 'https://onearmy.github.io',
baseUrl: '/community-platform/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
Expand Down Expand Up @@ -73,7 +73,7 @@ module.exports = {
routeBasePath: '/',
// Please change this to your repo.
editUrl:
'https://github.com/ONEARMY/community-platform/edit/master/documentation',
'https://github.com/ONEARMY/community-platform/edit/master/packages/documentation',
},
// blog: {
// showReadingTime: true,
Expand Down
6 changes: 0 additions & 6 deletions packages/documentation/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ module.exports = {
editUrl:
'https://github.com/ONEARMY/community-platform/edit/master/packages/documentation',
},
// blog: {
// showReadingTime: true,
// // Please change this to your repo.
// editUrl:
// 'https://github.com/facebook/docusaurus/edit/master/website/blog/',
// },
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
Expand Down
59 changes: 0 additions & 59 deletions packages/documentation/firestore-backup.md

This file was deleted.

99 changes: 0 additions & 99 deletions packages/documentation/src/pages/example.index.js

This file was deleted.

37 changes: 0 additions & 37 deletions packages/documentation/src/pages/styles.module.css

This file was deleted.