From 3d48d58cc9d0511df80ead22ff6646914d4371c6 Mon Sep 17 00:00:00 2001 From: Daniel Miller Date: Fri, 3 Jul 2026 18:00:24 -0600 Subject: [PATCH] chore: retire site, redirect www.millerdatabases.com to danielmiller.ca Miller Databases site is being retired. All 14 posts have been migrated to https://medium.com/@daniel-miller. Site now serves a single static page (with 404 catch) that meta-refreshes and JS-replaces to https://danielmiller.ca/. Deploy workflow no longer builds the Astro project; it uploads the static redirect/ directory to GitHub Pages. --- .github/workflows/deploy.yml | 37 +++++++----------------------------- redirect/404.html | 20 +++++++++++++++++++ {public => redirect}/CNAME | 0 redirect/index.html | 20 +++++++++++++++++++ 4 files changed, 47 insertions(+), 30 deletions(-) create mode 100644 redirect/404.html rename {public => redirect}/CNAME (100%) create mode 100644 redirect/index.html diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8f2889f..6e1a495 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Deploy to GitHub Pages +name: Deploy redirect to GitHub Pages on: push: @@ -14,32 +14,17 @@ concurrency: group: "pages" cancel-in-progress: true -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" - jobs: - build: - name: Build site + deploy: + name: Deploy redirect runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - env: - PUBLIC_GA_ID: ${{ vars.PUBLIC_GA_ID }} - PUBLIC_GOOGLE_SITE_VERIFICATION: ${{ vars.PUBLIC_GOOGLE_SITE_VERIFICATION }} - - name: Setup Pages uses: actions/configure-pages@v5 with: @@ -48,16 +33,8 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: ./dist + path: ./redirect - deploy: - name: Deploy to GitHub Pages - needs: build - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - name: Deploy id: deployment uses: actions/deploy-pages@v4 diff --git a/redirect/404.html b/redirect/404.html new file mode 100644 index 0000000..b0ea36a --- /dev/null +++ b/redirect/404.html @@ -0,0 +1,20 @@ + + + + +Miller Databases has moved + + + + + + +

This site has moved

+

Miller Databases is retired. Redirecting you to danielmiller.ca.

+

Past articles are now on Medium.

+ + + diff --git a/public/CNAME b/redirect/CNAME similarity index 100% rename from public/CNAME rename to redirect/CNAME diff --git a/redirect/index.html b/redirect/index.html new file mode 100644 index 0000000..b0ea36a --- /dev/null +++ b/redirect/index.html @@ -0,0 +1,20 @@ + + + + +Miller Databases has moved + + + + + + +

This site has moved

+

Miller Databases is retired. Redirecting you to danielmiller.ca.

+

Past articles are now on Medium.

+ + +