Compare commits

...

7 Commits

Author SHA1 Message Date
alexlebens 778677d165 Merge pull request 'main' (#392) from main into release
release-image / guarddog (push) Successful in 1m33s
release-image / build (push) Successful in 2m22s
release-image / semantic-release (push) Successful in 1m32s
release-image / release-harbor (push) Successful in 16m42s
release-image / release-gitea (push) Successful in 7m6s
Reviewed-on: #392
2026-03-17 09:52:01 +00:00
alexlebens ecd2cc7012 ci: enable directus webhook release
renovate / renovate (push) Successful in 1m13s
2026-03-16 22:43:40 -05:00
alexlebens 9a89d41c75 Release (#391)
release-image / guarddog (push) Successful in 32s
release-image / build (push) Successful in 1m45s
release-image / semantic-release (push) Successful in 39s
release-image / release-harbor (push) Has been skipped
release-image / release-gitea (push) Has been skipped
Reviewed-on: #391
2026-03-17 03:17:19 +00:00
alexlebens 4904953564 Merge branch 'release' into main
renovate / renovate (push) Successful in 1m30s
2026-03-17 03:16:53 +00:00
alexlebens 1c67cd0ddc ci: update package version
renovate / renovate (push) Has been cancelled
test-build / guarddog (push) Successful in 28s
test-build / build (push) Successful in 2m11s
2026-03-16 22:16:26 -05:00
alexlebens abdb30b0e3 feat: release for content
renovate / renovate (push) Successful in 1m8s
2026-03-16 22:07:23 -05:00
alexlebens 70255dc53c ci: set version to zero as versioning is managed in release workflow
test-build / guarddog (push) Successful in 1m26s
renovate / renovate (push) Successful in 1m39s
test-build / build (push) Successful in 2m8s
2026-03-16 19:56:46 -05:00
+15 -3
View File
@@ -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: