Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc5f134833 | ||
| 778677d165 | |||
| ecd2cc7012 | |||
| 9a89d41c75 | |||
| 4904953564 | |||
| 1c67cd0ddc | |||
| abdb30b0e3 | |||
| 70255dc53c |
@@ -5,7 +5,8 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
workflow_dispatch:
|
repository_dispatch:
|
||||||
|
types: [directus_update]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -29,14 +30,15 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
- name: Cache Astro Build Cache
|
- name: Cache Astro Build
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
.astro
|
.astro
|
||||||
node_modules/.vite
|
node_modules/.vite
|
||||||
key: ${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}
|
key: ${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}-${{ github.event_name == 'repository_dispatch' && github.run_id || 'static' }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
${{ runner.os }}-astro-${{ hashFiles('**/*.astro', 'astro.config.mjs') }}-
|
||||||
${{ runner.os }}-astro-
|
${{ runner.os }}-astro-
|
||||||
|
|
||||||
- name: Lint Code
|
- name: Lint Code
|
||||||
@@ -100,6 +102,9 @@ jobs:
|
|||||||
semantic-release:
|
semantic-release:
|
||||||
needs: [ build, guarddog ]
|
needs: [ build, guarddog ]
|
||||||
runs-on: ubuntu-js
|
runs-on: ubuntu-js
|
||||||
|
if: |
|
||||||
|
github.event_name != 'repository_dispatch' ||
|
||||||
|
github.event.client_payload.data.published == true
|
||||||
outputs:
|
outputs:
|
||||||
new-release-published: ${{ steps.semantic.outputs.new-release-published }}
|
new-release-published: ${{ steps.semantic.outputs.new-release-published }}
|
||||||
new-release-version: ${{ steps.semantic.outputs.new-release-version }}
|
new-release-version: ${{ steps.semantic.outputs.new-release-version }}
|
||||||
@@ -111,6 +116,13 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
|
|
||||||
|
- name: Prepare Content Patch
|
||||||
|
if: github.event_name == 'repository_dispatch'
|
||||||
|
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
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
@@ -239,7 +251,7 @@ jobs:
|
|||||||
runs-on: ubuntu-js
|
runs-on: ubuntu-js
|
||||||
needs: [ semantic-release, release-harbor ]
|
needs: [ semantic-release, release-harbor ]
|
||||||
if: |
|
if: |
|
||||||
always() &&
|
always() &&
|
||||||
needs.semantic-release.outputs.new-release-published == 'true'
|
needs.semantic-release.outputs.new-release-published == 'true'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# [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)
|
# [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",
|
"name": "site-profile",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "3.13.0",
|
"version": "3.14.0",
|
||||||
"homepage": "https://www.alexlebens.dev",
|
"homepage": "https://www.alexlebens.dev",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://gitea.alexlebens.dev/alexlebens/site-profile/issues",
|
"url": "https://gitea.alexlebens.dev/alexlebens/site-profile/issues",
|
||||||
|
|||||||
Reference in New Issue
Block a user