Skip to content

Commit 7f8bf5a

Browse files
updating js in index
1 parent 993ed63 commit 7f8bf5a

File tree

5 files changed

+37
-30
lines changed

5 files changed

+37
-30
lines changed

.github/workflows/node.js.yml

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3-
4-
name: Node.js CI
5-
1+
name: Auto-deployment of Documentation
62
on:
73
push:
8-
branches: [ "main" ]
9-
pull_request:
10-
branches: [ "main" ]
11-
4+
branches: [main]
125
jobs:
13-
build:
14-
6+
build-docs:
157
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/[email protected]
11+
with:
12+
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
1613

17-
strategy:
18-
matrix:
19-
node-version: [14.x, 16.x, 18.x]
20-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
14+
- name: Set up Python 3.
15+
uses: actions/setup-python@v3
16+
with:
17+
python-version: 3.9
2118

22-
steps:
23-
- uses: actions/checkout@v3
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm ci
30-
- run: npm run build --if-present
31-
- run: npm test
19+
- name: Install Poetry.
20+
uses: snok/[email protected]
21+
22+
- name: Install dependencies.
23+
run: |
24+
poetry install --with docs
25+
26+
- name: Build documentation.
27+
run: |
28+
mkdir gh-pages
29+
touch gh-pages/.nojekyll
30+
mv site/* ./gh-pages/
31+
32+
- name: Deploy documentation.
33+
if: ${{ github.event_name == 'push' }}
34+
uses: JamesIves/[email protected]
35+
with:
36+
branch: gh-pages
37+
force: true
38+
folder: gh-pages

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22
.DS_Store
3-
table-component/dist
3+
table-component/dist/

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
1010
<link href="/css/app.5921e8d2.css" rel="preload" as="style">
1111
<link href="/css/chunk-vendors.ff603852.css" rel="preload" as="style">
12-
<link href="/js/app.4f1219c0.js" rel="preload" as="script">
12+
<link href="/js/app.5da4fec8.js" rel="preload" as="script">
1313
<link href="/js/chunk-vendors.69b84130.js" rel="preload" as="script">
1414
<link href="/css/chunk-vendors.ff603852.css" rel="stylesheet">
1515
<link href="/css/app.5921e8d2.css" rel="stylesheet">
@@ -45,6 +45,6 @@ <h2>
4545

4646
<div id="app"></div>
4747
<script src="/js/chunk-vendors.69b84130.js"></script>
48-
<script src="/js/app.4f1219c0.js"></script>
48+
<script src="/js/app.5da4fec8.js"></script>
4949
</body>
5050
</html>

table-component/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
node_modules
33

44

5-
./dist/*
5+
dist/
66
# local env files
77
.env.local
88
.env.*.local

table-component/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>table</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="/css/app.5921e8d2.css" rel="preload" as="style"><link href="/css/chunk-vendors.ff603852.css" rel="preload" as="style"><link href="/js/app.5da4fec8.js" rel="preload" as="script"><link href="/js/chunk-vendors.69b84130.js" rel="preload" as="script"><link href="/css/chunk-vendors.ff603852.css" rel="stylesheet"><link href="/css/app.5921e8d2.css" rel="stylesheet"></head><div class="jumbotron"><h1>Mapping Commons</h1><h2>THIS MAPPING OVERVIEW IS UNDER DEVELOPMENT AND SHOULD NOT BE USED FOR ANYTHING.</h2><div>Mapping Commons pulls together mappings from various sources with the goal of offering them as simple to read, well provenanced TSV files in the <a href="https://github.com/mapping-commons/SSSOM/blob/master/SSSOM.md">SSSOM format</a>. At first, the effort will focus on biomedical ontologies and controlled vocabularies, see for example the <a href="https://github.com/mapping-commons/mh_mapping_initiative">Mouse-Human Ontology Mapping Effort</a>. The initiative was founded early 2021.</div><div class="mt-4">If you want to contribute mappings or have questions, please use the <a href="https://github.com/mapping-commons/mapping-commons.github.io/issues">issue tracker</a>.</div></div><div id="app"></div><script src="/js/chunk-vendors.69b84130.js"></script><script src="/js/app.5da4fec8.js"></script></html>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>table</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="/css/app.5921e8d2.css" rel="preload" as="style"><link href="/css/chunk-vendors.ff603852.css" rel="preload" as="style"><link href="/js/app.5da4fec8.js" rel="preload" as="script"><link href="/js/chunk-vendors.69b84130.js" rel="preload" as="script"><link href="/css/chunk-vendors.ff603852.css" rel="stylesheet"><link href="/css/app.5921e8d2.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.69b84130.js"></script><script src="/js/app.5da4fec8.js"></script></body></html>

0 commit comments

Comments
 (0)