Skip to content

Commit f4e7e9d

Browse files
Merge pull request #29 from Githubguy132010/website-build
Website build
2 parents 6096c1d + ffe1246 commit f4e7e9d

File tree

104 files changed

+434
-1685
lines changed

Some content is hidden

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

104 files changed

+434
-1685
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/build-check.yaml

Lines changed: 0 additions & 94 deletions
This file was deleted.

.github/workflows/build.yaml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/deploy.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- website
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: '16'
20+
21+
- name: Install dependencies
22+
run: npm install
23+
24+
- name: Build the project
25+
run: npm run build
26+
27+
- name: Export the project
28+
run: npm run export
29+
30+
- name: Deploy to GitHub Pages
31+
run: |
32+
touch out/.nojekyll
33+
git config --global user.name 'github-actions[bot]'
34+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
35+
git add out
36+
git commit -m 'Deploy to GitHub Pages'
37+
git push origin `git subtree split --prefix out main`:gh-pages --force

.github/workflows/dockerfile-check.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 50 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)