Skip to content

Commit

Permalink
Add .node-version and update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dmohns committed Jan 20, 2024
1 parent c95d48c commit 7de0181
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,19 @@ jobs:
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- uses: actions/setup-python@v3
- uses: actions/setup-node@v4
with:
python-version: "3.10"
- name: Install MkDocs
run: pip install mkdocs mkdocs-material
- name: Build with MkDocs
run: mkdocs build
node-version-file: docs_website/.node-version
- name: Install Docusaurus
working-directory: docs_website
run: npm install
- name: Build docs with Docusaurus
working-directory: docs_website
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: site/
path: docs_website/build/

# Deployment job
deploy:
Expand Down
1 change: 1 addition & 0 deletions docs_website/.node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/Iron
4 changes: 2 additions & 2 deletions docs_website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ const config = {
href: "https://community.enaccess.org/",
},
{
label: "Discord",
href: "TBD",
label: "Discord (TBD)",
href: "https://enaccess.org/",
},
],
},
Expand Down

0 comments on commit 7de0181

Please sign in to comment.