Skip to content

Commit ccdf780

Browse files
authored
update website styling (#115)
* update website styling * Apply KtLint format Signed-off-by: GitHub Actions <actions@github.com>
1 parent 0bff043 commit ccdf780

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+43401
-10591
lines changed

.github/workflows/website.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: deploy-website
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
16+
- name: Check out repo
17+
uses: actions/checkout@v2
18+
# Node is required for npm
19+
- name: Set up Node
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: "12"
23+
# Install and build Docusaurus website
24+
- name: Build Docusaurus website
25+
run: |
26+
cd website
27+
npm install
28+
npm run build
29+
- name: Deploy to GitHub Pages
30+
if: success()
31+
uses: crazy-max/ghaction-github-pages@v2
32+
with:
33+
target_branch: gh-pages
34+
build_dir: website/build
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docusaurus/babel.config.js

-3
This file was deleted.

docusaurus/src/css/custom.css

-35
This file was deleted.

docusaurus/src/pages/index.js

-97
This file was deleted.

docusaurus/src/pages/styles.module.css

-83
This file was deleted.

docusaurus/static/img/favicon.ico

-3.54 KB
Binary file not shown.

0 commit comments

Comments
 (0)