Skip to content

Commit 7b0d477

Browse files
committed
chore: disable nuxthub workflow for gcc
1 parent d4a29d8 commit 7b0d477

File tree

7 files changed

+668
-57
lines changed

7 files changed

+668
-57
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": ["@changesets/changelog-github", { "repo": "ChrisTowles/blog" }],
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.github/workflows/nuxthub.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
name: Deploy to NuxtHub
2-
on: push
1+
# name: Deploy to NuxtHub
2+
# on: push
33

4-
jobs:
5-
deploy:
4+
# jobs:
5+
# deploy:
66

7-
name: "Deploy to NuxtHub"
8-
runs-on: ubuntu-latest
9-
environment:
10-
name: ${{ github.ref == 'refs/heads/main' && 'ci' || 'anything else' }}
11-
#url: ${{ steps.deploy.outputs.deployment-url }}
12-
13-
env:
14-
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
15-
16-
permissions:
17-
contents: read
18-
id-token: write
19-
20-
steps:
21-
- name: Checkout
22-
uses: actions/checkout@v4
23-
24-
- name: Install pnpm
25-
uses: pnpm/action-setup@v4
26-
# with:
27-
# version: 10 # version set in package.json
28-
29-
- name: Install Node.js
30-
uses: actions/setup-node@v4
31-
with:
32-
node-version: 24
33-
cache: 'pnpm'
34-
35-
- name: Install dependencies
36-
run: pnpm install
37-
38-
- name: Deploy to NuxtHub
39-
uses: nuxt-hub/action@v2
40-
with:
41-
directory: ./packages/blog # Path to the directory to deploy
42-
project-key: blog-7kvi
7+
# name: "Deploy to NuxtHub"
8+
# runs-on: ubuntu-latest
9+
# environment:
10+
# name: ${{ github.ref == 'refs/heads/main' && 'ci' || 'anything else' }}
11+
# #url: ${{ steps.deploy.outputs.deployment-url }}
12+
13+
# env:
14+
# NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
15+
16+
# permissions:
17+
# contents: read
18+
# id-token: write
19+
20+
# steps:
21+
# - name: Checkout
22+
# uses: actions/checkout@v4
23+
24+
# - name: Install pnpm
25+
# uses: pnpm/action-setup@v4
26+
# # with:
27+
# # version: 10 # version set in package.json
28+
29+
# - name: Install Node.js
30+
# uses: actions/setup-node@v4
31+
# with:
32+
# node-version: 24
33+
# cache: 'pnpm'
34+
35+
# - name: Install dependencies
36+
# run: pnpm install
37+
38+
# - name: Deploy to NuxtHub
39+
# uses: nuxt-hub/action@v2
40+
# with:
41+
# directory: ./packages/blog # Path to the directory to deploy
42+
# project-key: blog-7kvi

.github/workflows/release.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
id-token: write
14+
15+
jobs:
16+
release:
17+
name: Release
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
24+
25+
- name: Install pnpm
26+
uses: pnpm/action-setup@v4
27+
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: 24
32+
cache: 'pnpm'
33+
34+
- name: Install dependencies
35+
run: pnpm install
36+
37+
- name: Create Release Pull Request or Publish
38+
id: changesets
39+
uses: changesets/action@v1
40+
with:
41+
version: pnpm run version
42+
publish: pnpm run release
43+
commit: 'chore: version packages'
44+
title: 'chore: version packages'
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "chris-towles-blog",
3+
"version": "0.1.0",
34
"private": true,
45
"author": "Chris Towles<[email protected]>",
56
"maintainers": [
@@ -10,6 +11,9 @@
1011
"build": "pnpm -r run build",
1112
"dev": "pnpm -r run dev",
1213
"deploy": "pnpm -r run deploy:nuxthub",
14+
"changeset": "changeset",
15+
"version": "changeset version",
16+
"release": "changeset tag",
1317
"aws:deploy": "tsx ./infra/deploy.mts",
1418
"gcp:staging:init": "cd infra/terraform/environments/staging && terraform init",
1519
"gcp:staging:plan": "cd infra/terraform/environments/staging && terraform plan",
@@ -31,6 +35,8 @@
3135
"deps:update": "pnpx taze --interactive --recursive"
3236
},
3337
"devDependencies": {
38+
"@changesets/changelog-github": "^0.5.1",
39+
"@changesets/cli": "^2.29.7",
3440
"@cloudflare/workers-types": "^4.20251014.0",
3541
"@types/node": "^24.9.2",
3642
"dotenv": "^17.2.3",

packages/blog/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@chris-towles/blog",
3+
"version": "0.1.0",
34
"private": true,
45
"author": "Chris Towles<[email protected]>",
56
"maintainers": [

0 commit comments

Comments
 (0)