Skip to content
Open
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
36 changes: 4 additions & 32 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages with Version Increment
name: Release Version

on:
push:
Expand All @@ -7,20 +7,15 @@ on:

permissions:
contents: write
pages: write
id-token: write

# Allow only one concurrent deployment
# Prevent concurrent runs from calculating the same version number.
concurrency:
group: "pages"
group: "release-version"
cancel-in-progress: false

jobs:
build-and-deploy:
version-and-tag:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -51,20 +46,6 @@ jobs:
# Set output for later steps
echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Build with Jekyll
run: bundle exec jekyll build
env:
JEKYLL_ENV: production

- name: Commit Version File
run: |
git config user.name "github-actions[bot]"
Expand All @@ -88,12 +69,3 @@ jobs:
git tag -a "v${{ steps.version.outputs.version }}" -m "Release version ${{ steps.version.outputs.version }}"
git push origin "v${{ steps.version.outputs.version }}"
fi

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Continue to use TCorg to experiment and learn. I want to track quality metrics a

## Phase 1.5: Agent Readiness

- [ ] **Workflow Simplification**: Simplify or rename `.github/workflows/deploy.yml` so it matches the confirmed model where GitHub Pages deploys from `main`.
- [x] **Workflow Simplification**: Simplify or rename `.github/workflows/deploy.yml` so it matches the confirmed model where GitHub Pages deploys from `main`.

## Phase 2: Quality Ledger & Metrics
*Goal: Associate every site version with a specific quality snapshot.*
Expand Down
Loading