Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
This is just a test site for now, will add content soon
  • Loading branch information
pml68 committed Jan 16, 2024
0 parents commit f0936d9
Show file tree
Hide file tree
Showing 19 changed files with 2,164 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Something's wrong, you can feel it
title: "[Bug]: "
labels: bug
assignees: ''
---

**Type**
As in, "Non-responsive element" or "Build fails", "404 error" etc.

**Describe the bug**
If you can't describe it, then leave.

**How to reproduce it**
If it happened during a certain action, how exactly?

**Expected behavior**
Describe what you expected to happen.

**Actual behavior**
Describe what actually happened.

**Screenshots or logs**

**Optional messages**
Anything else you'd like to mention.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature request
about: You want something new, something exciting!
title: "[Feature]: "
labels: feature
assignees: ''
---

**Type**
"New page", "Better design" etc. Things like that.

**Describe the feature**
What do you want added exactly?

**Optional messages**
Anything else you'd like to mention.
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
_Description of what this PR is changing or adding, and why:_

_Issues fixed by this PR (if any):_

## Presubmit checklist

- [ ] You have confirmed that there are no [PRs](https://github.com/pml68/website/pulls) closely related to yours in terms of changes.
55 changes: 55 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Deploy to GitHub Pages

on:
release:
types: [published]
workflow_dispatch:

jobs:
build_site:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Build
env:
BASE_PATH: ''
run: |
pnpm run build
- name: Upload files
uses: actions/upload-pages-artifact@v2
with:
path: 'build/'

deploy:
needs: build_site
runs-on: ubuntu-latest

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}

steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v2
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
Loading

0 comments on commit f0936d9

Please sign in to comment.