Skip to content

Commit 6ca56e6

Browse files
authored
fix: restore the .github directory (#109)
1 parent 4a51379 commit 6ca56e6

File tree

3 files changed

+103
-0
lines changed

3 files changed

+103
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
---
8+
9+
**Describe the bug:** (a clear and concise description of what the bug is)
10+
11+
**To Reproduce**
12+
Steps to reproduce the behavior:
13+
14+
1. Go to '...'
15+
2. Click on '....'
16+
3. Scroll down to '....'
17+
4. See error
18+
19+
**Expected behavior:** (a clear and concise description of what you expected to happen)
20+
21+
**Screenshots:** (if applicable, add screenshots to help explain your problem)
22+
23+
**Cluster(s):**
24+
25+
- Cloud: [e.g. aws]
26+
- Cluster: [e.g. demo]
27+
28+
**Versions:** (seen in console's `/settings`)
29+
30+
- Core Version [e.g. 0.12.34]
31+
- Console Version: [e.g. aws]
32+
- API version: [e.g. 0.4.56]
33+
34+
**Desktop:** (if relevant)
35+
36+
- OS: [e.g. iOS]
37+
- Browser [e.g. chrome, safari]
38+
- Version [e.g. 22]
39+
40+
**Smartphone:** (if relevant)
41+
42+
- Device: [e.g. iPhone6]
43+
- OS: [e.g. iOS8.1]
44+
- Browser [e.g. stock browser, safari]
45+
- Version [e.g. 22]
46+
47+
**Additional context:** (add any other context about the problem here)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem
10+
is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like** A clear and concise description of what you want to happen.
13+
14+
**Describe alternatives you've considered** A clear and concise description of any alternative solutions or features
15+
you've considered.
16+
17+
**Additional context** Add any other context or screenshots about the feature request here.

.github/workflows/deploy.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
# Review gh actions docs if you want to further define triggers, paths, etc
8+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
cache: npm
19+
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Build website
23+
run: npm run build
24+
25+
# Popular action to deploy to GitHub Pages:
26+
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
27+
- name: Deploy to GitHub Pages
28+
uses: peaceiris/actions-gh-pages@v3
29+
with:
30+
github_token: ${{ secrets.BOT_TOKEN }}
31+
# Build output to publish to the `gh-pages` branch:
32+
publish_dir: ./build
33+
# The following lines assign commit authorship to the official
34+
# GH-Actions bot for deploys to `gh-pages` branch:
35+
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
36+
# The GH actions bot is used by default if you didn't specify the two fields.
37+
# You can swap them out with your own user credentials.
38+
user_name: ${{ env.BOT_USERNAME }}
39+
user_email: ${{ env.BOT_EMAIL }}

0 commit comments

Comments
 (0)