Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions .github/workflows/generate-api-docs.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
name: Generate and Publish API Specs

on:
workflow_run:
# The name of the workflow to watch
workflows: ["B2C-CI"]
# The event type that triggers this workflow
types:
- completed
# Optional but recommended: only run for the main/master branch
branches:
- main
- master
push:
branches: [main, master]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
group: generate-api-specs-main
cancel-in-progress: true

jobs:
generate-and-publish:
if: github.event.workflow_run.conclusion == 'success'
name: Generate and Publish API Specs
runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions deploy.ci.api.mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ image:
npm: 9

composer:
mode: '--no-dev --quiet -o -a'
autoload: '-a -o'
mode: '--quiet -o'
autoload: '-o'

regions:
EU:
Expand Down
Loading