Skip to content

Commit

Permalink
feat: re-adding deployment workflow (#11)
Browse files Browse the repository at this point in the history
* feat: re-adding deployment workflow

* Update insights.go
  • Loading branch information
Nelwhix authored Apr 15, 2024
1 parent 0c6e941 commit 9fd6e63
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build release binaries

on:
workflow_dispatch:
push:
tags:
- "*"

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}

0 comments on commit 9fd6e63

Please sign in to comment.