Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83e35919d0 | ||
| 3e564d8587 | |||
| 1236defba7 | |||
| c196f626bb | |||
|
|
bc5f134833 | ||
| 778677d165 | |||
| ecd2cc7012 | |||
| 9a89d41c75 | |||
| 4904953564 | |||
| 1c67cd0ddc | |||
| abdb30b0e3 | |||
| 70255dc53c |
@@ -6,6 +6,12 @@ on:
|
||||
- release
|
||||
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
directus-release:
|
||||
description: 'A parameter passed via API'
|
||||
required: true
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -29,14 +35,15 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Cache Astro Build Cache
|
||||
- name: Cache Astro Build
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: |
|
||||
.astro
|
||||
node_modules/.vite
|
||||
key: ${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}
|
||||
key: ${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}-${{ github.event_name == 'workflow_dispatch' && github.run_id || 'static' }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}-
|
||||
${{ runner.os }}-astro-
|
||||
|
||||
- name: Lint Code
|
||||
@@ -100,6 +107,9 @@ jobs:
|
||||
semantic-release:
|
||||
needs: [ build, guarddog ]
|
||||
runs-on: ubuntu-js
|
||||
if: |
|
||||
github.event_name != 'workflow_dispatch' ||
|
||||
inputs['directus-release'] == true
|
||||
outputs:
|
||||
new-release-published: ${{ steps.semantic.outputs.new-release-published }}
|
||||
new-release-version: ${{ steps.semantic.outputs.new-release-version }}
|
||||
@@ -111,6 +121,13 @@ jobs:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.BOT_TOKEN }}
|
||||
|
||||
- name: Prepare Content Patch
|
||||
if: inputs['directus-release'] == true
|
||||
run: |
|
||||
git config user.name "gitea-bot"
|
||||
git config user.email "gitea-bot@alexlebens.net"
|
||||
git commit --allow-empty -m "fix(content): directus published update [skip ci]"
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
@@ -232,14 +249,14 @@ jobs:
|
||||
tags: action,failed
|
||||
details: 'Harbor Image for Site Profile has failed to be released.'
|
||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
||||
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=release-image.yml", "clear": true}]'
|
||||
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=release-image.yaml", "clear": true}]'
|
||||
image: true
|
||||
|
||||
release-gitea:
|
||||
runs-on: ubuntu-js
|
||||
needs: [ semantic-release, release-harbor ]
|
||||
if: |
|
||||
always() &&
|
||||
always() &&
|
||||
needs.semantic-release.outputs.new-release-published == 'true'
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,3 +1,17 @@
|
||||
# [3.15.0](https://gitea.alexlebens.dev/alexlebens/site-profile/compare/3.14.0...3.15.0) (2026-03-18)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* specify boolean ([1236def](https://gitea.alexlebens.dev/alexlebens/site-profile/commit/1236defba7cf80f34f1da6046076667a22ed63e9))
|
||||
|
||||
# [3.14.0](https://gitea.alexlebens.dev/alexlebens/site-profile/compare/3.13.0...3.14.0) (2026-03-17)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* release for content ([abdb30b](https://gitea.alexlebens.dev/alexlebens/site-profile/commit/abdb30b0e362bb97d59969cc5ea714c60b0efe60))
|
||||
|
||||
# [3.13.0](https://gitea.alexlebens.dev/alexlebens/site-profile/compare/3.12.1...3.13.0) (2026-03-16)
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "site-profile",
|
||||
"type": "module",
|
||||
"version": "3.13.0",
|
||||
"version": "3.15.0",
|
||||
"homepage": "https://www.alexlebens.dev",
|
||||
"bugs": {
|
||||
"url": "https://gitea.alexlebens.dev/alexlebens/site-profile/issues",
|
||||
|
||||
Reference in New Issue
Block a user