Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 0 additions & 23 deletions .devcontainer/devcontainer.json

This file was deleted.

9 changes: 0 additions & 9 deletions .dockerignore

This file was deleted.

42 changes: 27 additions & 15 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
name: Continous Deployment
name: Deploy Astro to GitHub Pages

on:
push:
branches: [master]
workflow_dispatch:

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

concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
name: 'Build 📦 & Deploy 🚀'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
with:
ruby-version: '3.3'
- run: gem install bundler
- run: bundle install --jobs 4 --retry 3

- name: 'Build 📦'
run: bundle exec jekyll build
- uses: actions/checkout@v4

- uses: JamesIves/github-pages-deploy-action@v4.3.4
name: 'Deploy 🚀'
- name: Install, build, and upload Astro site
uses: withastro/action@v3
with:
folder: _site
clean: true
path: ./astro
node-version: 22

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
39 changes: 29 additions & 10 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,38 @@
name: Continous Integration
name: Astro CI

on:
# Check that the static website is buildable for every PR
pull_request:
branches: [master]
paths:
- 'astro/**'
- '.github/workflows/integration-astro.yml'

permissions:
contents: read

jobs:
build:
name: 'Build 📦'
runs-on: ubuntu-latest
defaults:
run:
working-directory: astro
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
ruby-version: '3.3'
- run: gem install bundler
- run: bundle install --jobs 4 --retry 3
- run: bundle exec jekyll build
node-version: '22'
cache: 'npm'
cache-dependency-path: astro/package-lock.json

- name: Install dependencies
run: npm ci

- name: Type check
run: npx astro check

- name: Build
run: npm run build

- name: Verify URL preservation
run: node scripts/verify-urls.mjs
14 changes: 8 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
_site
# OS / IDE
.DS_Store
.idea/*
*.sublime-project
*.sublime-workspace
codekit-config.json

# Node / Astro (in addition to astro/.gitignore)
node_modules
vagrant/.vagrant/
.jekyll-cache
.jekyll-metadata
.idea/*
dist/

# Planning artifacts (OhMyOpenCode tooling)
.omo/
Loading