Skip to content

Commit

Permalink
refactor: upgrade Docusaurus to React 17 and move it to normal workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Aug 2, 2022
1 parent 49d5ce2 commit b2f8ffc
Show file tree
Hide file tree
Showing 61 changed files with 8,451 additions and 36,407 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: website
path: standalone/docusaurus/build/
path: packages/docusaurus/build/
retention-days: 1

- name: "Retain build artifact: Storybook"
Expand Down Expand Up @@ -82,30 +82,30 @@ jobs:
uses: actions/download-artifact@v3
with:
name: website
path: standalone/docusaurus/build/
path: packages/docusaurus/build/

- name: "Restore build artifact: Storybook"
uses: actions/download-artifact@v3
with:
name: storybook
path: standalone/docusaurus/build/storybook/
path: packages/docusaurus/build/storybook/
- name: "Restore build artifact: Storybook Vue"
uses: actions/download-artifact@v3
with:
name: storybook-vue
path: standalone/docusaurus/build/storybook-vue/
path: packages/docusaurus/build/storybook-vue/

- name: Continuous Deployment to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.3.0
with:
branch: gh-pages
folder: standalone/docusaurus/build/
folder: packages/docusaurus/build/

- name: Continuous Deployment to designsystem.utrecht.nl
uses: JamesIves/github-pages-deploy-action@v4.3.0
with:
branch: main
folder: standalone/docusaurus/build/
folder: packages/docusaurus/build/
repository-name: nl-design-system/designsystem.utrecht.nl
token: ${{ secrets.DOCS_GH_TOKEN }}

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ tmp/
yarn.lock
package-lock.json
!/package-lock.json
!/standalone/**/package-lock.json
package-lock.json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ You can use any editor you'd like, but in case you use [Visual Studio Code](http
5. The local version of docusaurus will be running on `localhost:3000/utrecht`
6. Press `Control+C` in your terminal to stop Docusaurus

Read the `standalone/docusaurus/README.md` for docusaurus details
Read the `packages/docusaurus/README.md` for docusaurus details

### Run Storybook on your computer

Expand Down
Loading

0 comments on commit b2f8ffc

Please sign in to comment.