Skip to content

Commit

Permalink
Merge pull request #158 from green-ecolution/release/v1.0.0
Browse files Browse the repository at this point in the history
Release v1.0.0
  • Loading branch information
choffmann authored Oct 21, 2024
2 parents 0d34c1a + 27edad2 commit b6157be
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-and-push-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
packages: write
actions: write
pull-requests: write
outputs:
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
steps:
- name: Extract version from branch name (for release branches)
if: startsWith(github.event.pull_request.head.ref, 'release/')
Expand Down Expand Up @@ -107,9 +109,9 @@ jobs:

upload_api_docs_prod:
name: Upload API Docs Production
needs: build_and_deploy_prod
needs: merge_and_publish_prod
env:
RELEASE_VERSION: ${{ needs.build_and_deploy_prod.outputs.RELEASE_VERSION }}
RELEASE_VERSION: ${{ needs.merge_and_publish_prod.outputs.RELEASE_VERSION }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -132,5 +134,5 @@ jobs:
- name: Upload API Docs
uses: actions/upload-artifact@v4
with:
name: api-docs-stage.json
name: api-docs-${{ env.RELEASE_VERSION }}.json
path: ./docs/api-docs-${{ env.RELEASE_VERSION }}.json

0 comments on commit b6157be

Please sign in to comment.