Skip to content

Commit

Permalink
fix: release action
Browse files Browse the repository at this point in the history
  • Loading branch information
vasyl-ivanchuk committed Sep 20, 2023
1 parent 03de076 commit e965944
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ jobs:
deployFrontendToStaging:
name: Deploy Block Explorer frontend to staging
runs-on: ubuntu-latest
needs: publish
if: ${{ github.ref == 'refs/heads/main' && needs.publish.outputs.releaseVersion != '' }}
needs: createReleaseVersion
if: ${{ github.ref == 'refs/heads/main' && needs.createReleaseVersion.outputs.releaseVersion != '' }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -121,7 +121,7 @@ jobs:
- name: Download Dist package
uses: dsaltares/fetch-gh-release-asset@master
with:
version: "tags/v${{ needs.publish.outputs.releaseVersion }}"
version: "tags/v${{ needs.createReleaseVersion.outputs.releaseVersion }}"
file: "dist.zip"
target: "dist.zip"
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -137,7 +137,7 @@ jobs:
- name: Download Storybook package
uses: dsaltares/fetch-gh-release-asset@master
with:
version: "tags/v${{ needs.publish.outputs.releaseVersion }}"
version: "tags/v${{ needs.createReleaseVersion.outputs.releaseVersion }}"
file: "storybook-static.zip"
target: "storybook-static.zip"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e965944

Please sign in to comment.