Skip to content

Commit c309eaf

Browse files
Merge pull request #43 from Project-Env/feature/starlight-migration
Migrate to Starlight
2 parents 64971f6 + 8ccfeb4 commit c309eaf

30 files changed

Lines changed: 7544 additions & 449 deletions

.bundle/config

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

.github/workflows/github-pages.yml

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,44 @@
1-
name: Build and deploy Jekyll site to GitHub Pages
1+
name: Build and deploy site to GitHub Pages
22

33
on:
44
push:
55
branches:
66
- main
77
workflow_dispatch:
8-
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: true
17+
918
jobs:
10-
github-pages:
19+
build:
1120
runs-on: ubuntu-latest
1221
steps:
1322
- uses: actions/checkout@v4
1423

15-
- uses: actions/cache@v3
24+
- uses: project-env/project-env-github-action@v1
1625
with:
17-
path: vendor/bundle
18-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
19-
restore-keys: |
20-
${{ runner.os }}-gems
26+
cli-version: '3.12.2'
27+
28+
- run: npm ci
2129

22-
- uses: helaili/jekyll-action@v2
30+
- run: npm run build
31+
32+
- uses: actions/upload-pages-artifact@v3
2333
with:
24-
token: ${{ secrets.GITHUB_TOKEN }}
25-
target_branch: 'gh-pages'
26-
keep_history: false
34+
path: dist/
35+
36+
deploy:
37+
needs: build
38+
runs-on: ubuntu-latest
39+
environment:
40+
name: github-pages
41+
url: ${{ steps.deployment.outputs.page_url }}
42+
steps:
43+
- id: deployment
44+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
1-
_site
2-
.sass-cache
3-
.jekyll-cache
4-
.jekyll-metadata
5-
vendor
1+
# build output
2+
dist/
63

7-
.idea
4+
# project-env tools
5+
.tools/
6+
7+
# dependencies
8+
node_modules/
9+
10+
# astro
11+
.astro/
12+
13+
# IDE
14+
.idea/
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS
21+
.DS_Store

Gemfile

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

Gemfile.lock

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

_config.yml

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

_includes/head_custom.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)