Merge pull request #182 from quotentiroler/dev/ignore-generated #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Alpha Release | |
| on: | |
| push: | |
| branches: [develop] | |
| paths-ignore: | |
| - 'ui/src/lib/api-client/**' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: read | |
| concurrency: | |
| group: releases | |
| cancel-in-progress: false | |
| jobs: | |
| alpha-release: | |
| name: Alpha Release | |
| # Only run if the last commit is not a release commit to avoid infinite loops | |
| if: ${{ !contains(github.event.head_commit.message, '🔄 Update version') && !contains(github.event.head_commit.message, '🤖 Update client APIs') && !contains(github.event.head_commit.message, 'Alpha release') && !contains(github.event.head_commit.message, '🚀') && !contains(github.event.head_commit.message, 'proxy-smart-releaser') }} | |
| uses: ./.github/workflows/release-orchestrator.yml | |
| with: | |
| release_type: 'alpha' | |
| source_branch: 'develop' | |
| target_branch: 'develop' | |
| should_bump_version: true | |
| is_prerelease: true | |
| commit_limit: 10 | |
| secrets: | |
| APP_ID: ${{ secrets.APP_ID }} | |
| APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} | |
| # Note: Deployment is handled automatically by Northflank | |
| # When code is pushed to 'develop', Northflank detects the commit and deploys automatically | |
| # No explicit deploy step needed! | |
| # Test the deployed alpha application | |
| test-alpha-deployment: | |
| name: Test Alpha Deployment | |
| needs: [alpha-release] | |
| uses: ./.github/workflows/testing-strategy.yml | |
| with: | |
| test_stage: 'alpha' | |
| deployment_target: 'northflank' | |
| fhir_server_url: 'https://p02--proxy-smart-alpha--776jg9nwd8rw.code.run/proxy-smart-backend/hapi-fhir-server/R4' | |
| keycloak_url: 'https://p01--keycloak-alpha--776jg9nwd8rw.code.run' | |
| app_version: ${{ needs.alpha-release.outputs.version }} | |
| secrets: | |
| DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} |