Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Deploy to GitHub Pages

on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Automatic release when package.json version changes
name: Release

on:
push:
branches: [main]
paths: [package.json]

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: justincy/github-action-npm-release@2.0.2
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,24 @@ import Layout from '../../layouts/Layout.astro'
### 5. Sitemap

- The sitemap is automatically generated on every build. No manual action is required.

## Releases & Deploys

### Creating a Release

The release workflow automatically detects version changes in `package.json`. When you push to `main` with an updated version, it automatically:

1. Creates a git tag
2. Generates a changelog from commit history
3. Creates a GitHub Release

### Deploying

Deployment is manual and triggered from GitHub Actions:

1. Go to **Actions → Deploy to GitHub Pages**
2. Select the tag you want to deploy (e.g., `v1.0.0`)
3. Click **Run workflow**

The site is deployed to GitHub Pages at `https://2026.es.pycon.org/`.

Loading