Merge pull request #826 from spryker-shop/bugfix/frw-11255-autoload-fix #37
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: Generate and Publish API Specs | |
| on: | |
| push: | |
| branches: [main, master] | |
| workflow_dispatch: | |
| concurrency: | |
| group: generate-api-specs-main | |
| cancel-in-progress: true | |
| jobs: | |
| generate-and-publish: | |
| name: Generate and Publish API Specs | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for AWS OIDC authentication | |
| contents: read # Required to check out the repository | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Generate and Publish Specs | |
| uses: spryker-sdk/gha-api-spec-upload@main | |
| with: | |
| # --- Configure Inputs --- | |
| app-type: 'b2c' | |
| deploy-file: 'deploy.ci.api.mariadb.yml' | |
| s3-bucket: ${{ vars.API_UPLOAD_S3_AWS_BUCKET }} | |
| aws-region: ${{ vars.API_UPLOAD_S3_AWS_REGION }} | |
| aws-access-key-id: ${{ secrets.API_UPLOAD_S3_AWS_ACCESS_KEY_ID }} | |
| aws-secret-access-key: ${{ secrets.API_UPLOAD_S3_AWS_SECRET_ACCESS_KEY }} | |
| storefront-server-url: ${{ vars.API_UPLOAD_GLUE_STOREFRONT_SERVER_URL }} | |
| backend-server-url: ${{ vars.API_UPLOAD_GLUE_BACKEND_SERVER_URL }} |