Skip to content

Commit

Permalink
tweak release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
raulfdm committed Dec 16, 2023
1 parent abb2cb1 commit 95a266b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ jobs:
uses: changesets/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
createGithubReleases: true

- name: Login to Docker Hub
uses: docker/login-action@v3
if: steps.changesets.outputs.hasChangesets == 'false'
if: steps.changesets.outputs.hasChangesets == 'false' && steps.changesets.outputs.pullRequestNumber != ''
with:
username: raulfdm
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push Docker Image
if: steps.changesets.outputs.hasChangesets == 'false'
if: steps.changesets.outputs.hasChangesets == 'false' && steps.changesets.outputs.pullRequestNumber != ''
run: bun run image:deploy

0 comments on commit 95a266b

Please sign in to comment.