Skip to content

Commit

Permalink
Use a different steps ID for grabbing zip path
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonwebz committed May 6, 2024
1 parent 183f257 commit 85d8b8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-on-release-to-dot-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
cache: 'npm'

- name: NPM install, build and generate release artefacts
id: dist-build
run: |
npm install --ignore-scripts
npm run build
Expand All @@ -52,6 +53,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.deploy.outputs.zip-path }}
asset_path: ${{ steps.dist-build.outputs.zip-path }}
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip

0 comments on commit 85d8b8d

Please sign in to comment.