Skip to content

Commit

Permalink
fix: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed May 16, 2024
1 parent d1a7287 commit 187ff1b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,23 @@ jobs:
contents: write
pull-requests: write
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
tag_name: ${{ steps.release-please.outputs.tag_name }}
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
target-branch: ${{ github.ref_name }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
- name: Check if release was created
env:
RELEASE_CREATED: ${{ needs.release-please.outputs.release_created }}
TAG_NAME: ${{ needs.release-please.outputs.tag_name }}
run: |
echo "Release created: ${RELEASE_CREATED}"
echo "Tag name: ${TAG_NAME}"
build-deploy-dev-image:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -64,6 +72,14 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Check if release was created
env:
RELEASE_CREATED: ${{ needs.release-please.outputs.release_created }}
TAG_NAME: ${{ needs.release-please.outputs.tag_name }}
run: |
echo "Release created: ${RELEASE_CREATED}"
echo "Tag name: ${TAG_NAME}"
- name: Build Docker image
if: ${{ needs.release-please.outputs.release_created == 'true' }}
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 187ff1b

Please sign in to comment.