Skip to content

fix: redirect deep links to their Medium article instead of 404 #4

fix: redirect deep links to their Medium article instead of 404

fix: redirect deep links to their Medium article instead of 404 #4

Workflow file for this run

# Deploy the static redirect site to GitHub Pages.
name: Deploy to Pages
on:
# Deploy on every push to the default branch.
push:
branches: ["main"]
# Allow manual runs from the Actions tab.
workflow_dispatch:
# Grant GITHUB_TOKEN the permissions the Pages deploy needs.
permissions:
contents: read
pages: write
id-token: write
# Allow a single concurrent deployment, and let an in-progress production deploy
# finish rather than cancelling it.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Pages
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
# Publish only the site directory, not the repo's README or workflow.
path: "./public"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5