Skip to content

Commit

Permalink
Use GitHub Releases for Public
Browse files Browse the repository at this point in the history
  • Loading branch information
sr229 authored Sep 2, 2021
1 parent 52d3cbf commit 69e31fe
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,18 @@ jobs:
with:
name: ${{ needs.variables.outputs.version }}-${{ matrix.runtime }}
path: ${{ github.workspace }}

- name: Upload Build
uses: ncipollo/release-action@master
if: ${{ github.event.action == 'released' }}
with:
artifacts: "Vignette.${{ needs.variables.outputs.version }}-${{ matrix.runtime }}.zip"
allowUpdates: true
tag: ${{ github.event.release.tag_name }}


- name: Upload Build (Insider)
if: ${{ github.event.action == 'prereleased' }}
uses: wzieba/[email protected]
with:
appName: vignette/Vignette-AB1
Expand All @@ -96,7 +106,9 @@ jobs:
- name: Notify Public
uses: Ilshidur/action-discord@master
with:
args: Heads up @everyone! `${{ needs.variables.outputs.version }}` is now available! Visit https://tinyurl.com/vignette-stable to get your build.
args: |
Heads up @everyone! `${{ needs.variables.outputs.version }}` is now available!
https://github.com/vignetteapp/vignette/releases/tag/${{ github.event.release.tag_name }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_REL }}
if: ${{ github.event.action == 'released' }}

0 comments on commit 69e31fe

Please sign in to comment.