Skip to content

Commit

Permalink
🎉 Begin the website
Browse files Browse the repository at this point in the history
  • Loading branch information
siguici committed Aug 11, 2024
1 parent 740da7c commit 49835f3
Show file tree
Hide file tree
Showing 34 changed files with 9,906 additions and 31 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
*.neon linguist-language=YAML

/.github export-ignore
/.vscode export-ignore
/website export-ignore
/tests export-ignore
/specs export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Deploy

on:
push:
branches:
- main

workflow_run:
workflows: [CI]
types: [completed]
branches: [main]

defaults:
run:
working-directory: ./website

permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ${{ matrix.operating-system }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}

environment:
name: production
url: https://sikessem.github.io

strategy:
fail-fast: true
matrix:
operating-system: [ubuntu-latest]
node-version: [20.16]
pnpm-version: [9.7.0]

name: 🚀 Deploy https://sikessem.github.io/ui to Node-${{ matrix.node-version }} and build with pnpm@${{ matrix.pnpm-version }} on ${{ matrix.operating-system }}

steps:
- name: 🚚 Checkout the repository
uses: actions/checkout@v4

- name: 📚 Install, build, and upload website
uses: withastro/action@v2
with:
path: ./website
node-version: ${{ matrix.node-version }}
package-manager: pnpm@${{ matrix.pnpm-version }}

deploy:
needs: build

runs-on: ubuntu-latest

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

steps:
- name: 📂 Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
1 change: 1 addition & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["./website/biome.json"],
"organizeImports": {
"enabled": true,
"ignore": ["node_modules", "vendor", "dist"]
Expand Down
Loading

0 comments on commit 49835f3

Please sign in to comment.