Skip to content

Commit 30ab694

Browse files
committed
complete website redesign
1 parent 8cc1af7 commit 30ab694

Some content is hidden

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

69 files changed

+4016
-342
lines changed

.github/workflows/deploy.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Deploy Mlem website to GitHub Pages
2+
3+
on:
4+
# Runs on pushes targeting the default branch
5+
push:
6+
branches: ["master"]
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
# Allow only one concurrent deployment
17+
concurrency:
18+
group: "pages"
19+
cancel-in-progress: false
20+
21+
jobs:
22+
# Build job
23+
build:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Setup Node
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: "22"
33+
cache: "npm"
34+
35+
- name: Setup Pages
36+
uses: actions/configure-pages@v4
37+
38+
- name: Restore cache
39+
uses: actions/cache@v4
40+
with:
41+
path: |
42+
.next/cache
43+
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
44+
restore-keys: |
45+
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
46+
47+
- name: Install dependencies
48+
run: npm ci
49+
50+
- name: Build and Export with Next.js
51+
run: |
52+
npm run build
53+
# Make sure the next.config.js has output: 'export' set
54+
55+
- name: Upload artifact
56+
uses: actions/upload-pages-artifact@v3
57+
with:
58+
path: ./out
59+
60+
# Deployment job
61+
deploy:
62+
environment:
63+
name: github-pages
64+
url: ${{ steps.deployment.outputs.page_url }}
65+
runs-on: ubuntu-latest
66+
needs: build
67+
steps:
68+
- name: Deploy to GitHub Pages
69+
id: deployment
70+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 40 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,41 @@
1-
# Jekyll
2-
_site/
3-
*-cache/
4-
.jekyll-metadata
5-
6-
# Ruby
7-
.bundle/
8-
.byebug_history
9-
.ruby-gemset
10-
.ruby-version
11-
*.gem
12-
Gemfile.lock
13-
14-
# Files
15-
.analysis
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
1624
.DS_Store
17-
*.swp
18-
*~
19-
20-
# Folders
21-
/vendor
22-
bbin/
23-
bin/
24-
coverage
25-
gh-pages/
26-
pkg/
27-
test/dest
28-
tmp/*
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

.node-version

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

404.html

Lines changed: 0 additions & 25 deletions
This file was deleted.

CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
mlem.group
1+
mlem.group

Gemfile

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)