diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-01-16 16:58:24 +0100 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-01-16 16:58:24 +0100 |
| commit | f0936d9c8b61121cbdfe51bf310fad90b5b0fa03 (patch) | |
| tree | 4a7e992395ecbd0c6f918f18e1740a2beaad9862 /.github | |
| download | pml68.dev-f0936d9c8b61121cbdfe51bf310fad90b5b0fa03.tar.gz | |
Initial commit
This is just a test site for now, will add content soon
Diffstat (limited to '')
| -rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 27 | ||||
| -rw-r--r-- | .github/ISSUE_TEMPLATE/feature_request.md | 16 | ||||
| -rw-r--r-- | .github/PULL_REQUEST_TEMPLATE.md | 7 | ||||
| -rw-r--r-- | .github/workflows/deploy.yml | 55 |
4 files changed, 105 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..7fbf05d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -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. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..d6f991e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -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. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..34bc22e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -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. diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..674e64b --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 |
