Skip to content

Commit b06c7c6

Browse files
committed
refactor: added font retrieval
1 parent 20a9f78 commit b06c7c6

File tree

4 files changed

+255
-0
lines changed

4 files changed

+255
-0
lines changed

.github/workflows/default.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Default push workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
init:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: 🛑 Cancel Previous Runs
13+
uses: styfle/[email protected]
14+
15+
- name: ⬇️ Checkout repo
16+
uses: actions/checkout@v4
17+
18+
- name: 🔄 Init Cache Default
19+
uses: ./.github/actions/npm-cache
20+
21+
- name: 📥 Download deps default-npm-cache
22+
if: steps.npm-cache.outputs.cache-hit != 'true'
23+
uses: bahmutov/npm-install@v1
24+
25+
build:
26+
runs-on: ubuntu-latest
27+
needs: [init]
28+
steps:
29+
- name: 🍼 Create pages build
30+
run: npm run build
31+
32+
deploy:
33+
runs-on: ubuntu-latest
34+
if: ${{ github.actor != 'dependabot[bot]' && (github.event.pull_request == null || github.event.pull_request.head.repo.owner.login == 'db-ui') }}
35+
needs: [build]
36+
steps:
37+
- name: 🥅 Deploy to GH-Pages
38+
uses: peaceiris/actions-gh-pages@v4
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.idea
2+
/node_modules

package-lock.json

+197
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "db-ui.github.io",
3+
"version": "0.0.0",
4+
"description": "Hosting our central public overview page",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"build": "cpr node_modules/@db-ui/base/build/assets/fonts/ assets/fonts"
9+
},
10+
"author": "",
11+
"license": "Apache 2.0",
12+
"private": true,
13+
"devDependencies": {
14+
"@db-ui/base": "0.29.0",
15+
"cpr": "^3.0.1"
16+
}
17+
}

0 commit comments

Comments
 (0)