Skip to content

Commit 5fa8710

Browse files
authored
Switch site generator from Jekyll to Astro (#81)
1 parent 8962dca commit 5fa8710

Some content is hidden

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

87 files changed

+5915
-3501
lines changed

.github/workflows/deploy.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build and Deploy to keepandroidopen.org
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages-deploy
16+
cancel-in-progress: true
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v6
24+
25+
- name: Install, build, and upload site
26+
uses: withastro/action@v5
27+
#with:
28+
# path: .
29+
30+
deploy:
31+
needs: build
32+
runs-on: ubuntu-latest
33+
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
34+
35+
environment:
36+
name: github-pages
37+
url: ${{ steps.deployment.outputs.page_url }}
38+
steps:
39+
- name: Deploy to GitHub Pages
40+
id: deployment
41+
uses: actions/deploy-pages@v4
42+

.github/workflows/jekyll-gh-pages.yml

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

.gitignore

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-
Gemfile.lock
2-
_drafts/
3-
_site/
4-
.sass-cache/
5-
.jekyll-cache/
6-
.jekyll-metadata
1+
node_modules/
2+
dist/
3+
.astro/
74
.DS_Store
8-
.bundle/
9-
vendor/
105
*.swp
116
*.swo
127
*.bkp
138
TODO.txt
14-
15-
_site
16-
node_modules
17-
.sass-cache
18-
*.gem
19-
Gemfile.lock
20-
*.gem
21-
assets/**/*.html
22-
assets/**/*.md
23-

Gemfile

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

_config.yml

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

_includes/head-custom.html

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

_layouts/default.html

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

_layouts/home.html

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

_layouts/page.html

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

_layouts/post.html

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

0 commit comments

Comments
 (0)