Skip to content

Commit

Permalink
Update deploy-pipeline.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
osmanyozgatlioglu authored Feb 13, 2022
1 parent 2344436 commit 62c7514
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:

publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: Create release
id: create_release
Expand All @@ -59,4 +60,16 @@ jobs:
body: New release for ${{ github.sha }}. Release notes can be found in the docs.
draft: false
prerelease: false

- name: Download artifact
uses: actions/download-artifact@v2
with:
name: zipped-bundle
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ github.sha }}.zip
asset_name: source_code_with_libraries.zip
asset_content_type: application/zip

0 comments on commit 62c7514

Please sign in to comment.