diff --git a/.github/workflows/scheduled-build.yaml b/.github/workflows/scheduled-build.yaml
index 2cf980d9..62019092 100644
--- a/.github/workflows/scheduled-build.yaml
+++ b/.github/workflows/scheduled-build.yaml
@@ -1,20 +1,14 @@
-name: Scheduled Vercel build
-env:
- VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
- VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
+name: Scheduled Netlify Build
on:
+ workflow_dispatch:
schedule:
- cron: '0 * * * *'
jobs:
- cron:
+ build:
+ name: Request Netlify Webhook
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - name: Install Vercel CLI
- run: npm install --global vercel@29.4.0
- - name: Pull Vercel Environment Information
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- - name: Build Project Artifacts
- run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- - name: Deploy Project Artifacts to Vercel
- run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
+ - name: POST to Build Hook
+ env:
+ BUILD_KEY: ${{ secrets.NETLIFY_BUILD_KEY }}
+ run: curl -X POST -d {} https://api.netlify.com/build_hooks/$env:BUILD_KEY
\ No newline at end of file
diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid
index 0b2d9e3b..b054cfdf 100644
--- a/src/_includes/base.liquid
+++ b/src/_includes/base.liquid
@@ -35,14 +35,6 @@
- {% if env != 'development' %}
-
-
- {% endif %}
-
diff --git a/src/assets/feeds/links.xsl b/src/assets/feeds/links.xsl
index d83aeeb4..fb9c3182 100644
--- a/src/assets/feeds/links.xsl
+++ b/src/assets/feeds/links.xsl
@@ -17,7 +17,6 @@
-
diff --git a/vercel.json b/vercel.json
deleted file mode 100644
index bf9daac3..00000000
--- a/vercel.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "github": {
- "silent": true
- },
- "headers": [
- {
- "source": "/feed.xml",
- "headers": [
- {
- "key": "Content-Type",
- "value": "application/xml; charset=utf-8 # not application/rss+xml"
- },
- {
- "key": "x-content-type-options",
- "value": "nosniff"
- }
- ]
- },
- {
- "source": "/links.xml",
- "headers": [
- {
- "key": "Content-Type",
- "value": "application/xml; charset=utf-8"
- },
- {
- "key": "x-content-type-options",
- "value": "nosniff"
- }
- ]
- },
- {
- "source": "/follow.xml",
- "headers": [
- {
- "key": "Content-Type",
- "value": "application/xml; charset=utf-8"
- },
- {
- "key": "x-content-type-options",
- "value": "nosniff"
- }
- ]
- },
- {
- "source": "/.well-known/webfinger",
- "headers": [
- {
- "key": "Content-Type",
- "value": "application/jrd+json; charset=utf-8"
- }
- ]
- }
- ],
- "redirects": [
- {
- "source": "/blog/fixing-safari-icloud-syncing",
- "destination": "/posts/2022/fixing-safari-icloud-syncing/"
- },
- {
- "source": "/blog/migrating-to-fastmail",
- "destination": "/posts/2022/migrating-to-fastmail/"
- },
- {
- "source": "/blog/client-side-webmentions-in-nextjs",
- "destination": "/posts/2023/client-side-webmentions-in-nextjs/"
- },
- {
- "source": "/blog/apple-centric-digital-privacy-tools",
- "destination": "/posts/2022/apple-centric-digital-privacy-tools/"
- },
- {
- "source": "/blog/automating-rss-syndication-with-nextjs-github",
- "destination": "/posts/2023/automating-rss-syndication-with-nextjs-github/"
- },
- {
- "source": "/blog/apple-music-a-tale-of-woe",
- "destination": "/posts/2021/apple-music-a-tale-of-woe/"
- },
- {
- "source": "/blog/building-a-now-page-using-nextjs-and-social-apis",
- "destination": "/posts/2023/building-a-now-page-using-nextjs-and-social-apis/"
- },
- {
- "source": "/blog/adding-client-side-rendered-webmentions-to-my-blog",
- "destination": "/posts/2023/client-side-webmentions-in-nextjs/"
- },
- {
- "source": "/blog/automating-email-cleanup-in-gmail",
- "destination": "/posts/2022/automating-email-cleanup-in-gmail/"
- },
- {
- "source": "/blog/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt",
- "destination": "/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt/"
- },
- {
- "source": "/blog/simple-api-fetch-hooks-with-swr",
- "destination": "/posts/2022/simple-api-fetch-hooks-with-swr/"
- },
- {
- "source": "/2023/02/automatingandprobablyoverengineeringmy-nowpage",
- "destination": "/posts/2023/automating-and-overengineering-my-now-page/"
- },
- {
- "source": "/2023/01/workflows-handling-inbound-email-on-fastmail-with-regular-expressions",
- "destination": "/posts/2023/fastmail-handling-inbound-email-with-regex-filters-now-with-chatgpt/"
- },
- {
- "source": "/rss.xml",
- "destination": "/feed.xml"
- }
- ]
-}