A simple static landing page for the Lidi za kódem podcast, built with Astro and prepared for deployment to GitHub Pages.
The website is intended to be published at https://lidizakodem.cz/.
Install dependencies and start the development server:
npm install
npm run devCreate a production build:
npm run buildThe static build output is generated in the dist directory. To preview the production build locally:
npm run previewThe main configuration file is src/data/site.ts.
Use it to update:
- podcast platform links in
listenLinks, - the RSS feed URL in
rss.url, - the contact email in
email, - social links in
author.socialLinks, - the canonical URL in
canonicalUrl, - logo, favicon, and Open Graph image paths in
assets.
Logo, favicon, Open Graph image, and platform icons are stored in public/ and public/icons/.
Used assets:
- website logo:
public/logo.png - favicon:
public/favicon.png - sharing image:
public/og-image.png - platform icons:
public/icons/*.png - GitHub Pages custom domain file:
public/CNAME
To replace assets, either overwrite the existing files or update their paths in src/data/site.ts.
The deployment workflow is defined in .github/workflows/deploy.yml. It runs on every push to the main branch, builds the Astro site, uploads the static artifact, and deploys it to GitHub Pages.
No Cloudflare account or GitHub Secrets are required for this deployment path.
In the GitHub repository:
- Open Settings > Pages.
- Under Build and deployment, set Source to GitHub Actions.
- Under Custom domain, set
lidizakodem.cz. - After DNS validation succeeds, enable Enforce HTTPS.
The file public/CNAME contains lidizakodem.cz, so the built site artifact also includes the custom domain declaration.
The domain is currently managed through Seznam Email Profi DNS. Keep the existing mail-related DNS records, especially MX, SPF, DKIM, and DMARC.
Add these records for the root domain:
@ A 185.199.108.153
@ A 185.199.109.153
@ A 185.199.110.153
@ A 185.199.111.153
Optional IPv6 records:
@ AAAA 2606:50c0:8000::153
@ AAAA 2606:50c0:8001::153
@ AAAA 2606:50c0:8002::153
@ AAAA 2606:50c0:8003::153
Add this record for the www subdomain:
www CNAME pseckar.github.io
Do not change the domain nameservers when using GitHub Pages with these DNS records.
The latest episode section is not displayed yet. src/data/site.ts contains a prepared latestEpisode value so the section can be added later without restructuring the rest of the page.