Skip to content

Commit fb3f7e9

Browse files
juliankasimirCopilot
andcommitted
feat: add initial website with content
Co-authored-by: Copilot <copilot@github.com>
1 parent 17ac6ad commit fb3f7e9

104 files changed

Lines changed: 18622 additions & 1 deletion

File tree

Some content is hidden

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

‎.github/workflows/deploy.yml‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
# Trigger the workflow every time you push to the `main` branch
5+
# Using a different branch name? Replace `main` with your branch’s name
6+
push:
7+
branches: [main]
8+
# Allows you to run this workflow manually from the Actions tab on GitHub.
9+
workflow_dispatch:
10+
11+
# Allow this job to clone the repo and create a page deployment
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout your repository using git
22+
uses: actions/checkout@v6
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v6
25+
# with:
26+
# path: . # The root location of your Astro project inside the repository. (optional)
27+
# node-version: 24 # The specific version of Node that should be used to build your site. Defaults to 22. (optional)
28+
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
29+
# build-cmd: pnpm run build # The command to run to build your site. Runs the package build script/task by default. (optional)
30+
# env:
31+
# PUBLIC_POKEAPI: 'https://pokeapi.co/api/v2' # Use single quotation marks for the variable value. (optional)
32+
33+
deploy:
34+
needs: build
35+
runs-on: ubuntu-latest
36+
environment:
37+
name: github-pages
38+
url: ${{ steps.deployment.outputs.page_url }}
39+
steps:
40+
- name: Deploy to GitHub Pages
41+
id: deployment
42+
uses: actions/deploy-pages@v5
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
name: 'prepare-release'
3+
4+
permissions:
5+
contents: write
6+
7+
concurrency:
8+
group: ${{ github.workflow }}
9+
cancel-in-progress: true
10+
11+
on:
12+
push:
13+
branches:
14+
- 'main'
15+
workflow_dispatch:
16+
17+
jobs:
18+
prepare-release:
19+
name: 'Prepare Release'
20+
runs-on: 'ubuntu-latest'
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
28+
- name: Generate changelog
29+
uses: orhun/git-cliff-action@v4
30+
with:
31+
config: cliff.toml
32+
args: --unreleased --verbose
33+
env:
34+
OUTPUT: release_notes.md
35+
36+
- name: Remove previous latest tag
37+
uses: actions/github-script@v7
38+
continue-on-error: true
39+
with:
40+
script: |
41+
try {
42+
await github.rest.git.deleteRef({
43+
owner: context.repo.owner,
44+
repo: context.repo.repo,
45+
ref: 'tags/latest'
46+
});
47+
} catch (error) {
48+
if (error.status !== 404) throw error;
49+
}
50+
51+
- name: Create release
52+
uses: softprops/action-gh-release@v2
53+
with:
54+
tag_name: latest
55+
name: Next Release
56+
body_path: release_notes.md
57+
draft: true
58+
target_commitish: ${{ github.sha }}

‎.gitignore‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# build output
2+
dist
3+
4+
# dependencies
5+
node_modules/
6+
.snowpack/
7+
8+
# logs
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
13+
# environment variables
14+
.env
15+
.env.production
16+
17+
# macOS-specific files
18+
.DS_Store
19+
20+
# vscode settings and dictionaries
21+
.vscode
22+
23+
# webstorm settings and dictionaries
24+
.idea
25+
26+
# astro build files
27+
.astro
28+
29+
# cursor
30+
.cursor
31+
32+
.history

‎.nvmrc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.12.0

‎.prettierrc‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"tabWidth": 2,
3+
"semi": false,
4+
"singleQuote": true,
5+
"printWidth": 120,
6+
"plugins": ["prettier-plugin-astro", "prettier-plugin-css-order", "prettier-plugin-tailwindcss"]
7+
}

0 commit comments

Comments
 (0)