Skip to content

Commit

Permalink
Create deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspoignant authored Feb 9, 2021
1 parent 1705a71 commit 33246bd
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Go releaser
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.RELEASEGHTOKEN }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.RELEASEGHTOKEN }}
-
name: Upload assets
uses: actions/upload-artifact@v2
with:
name: yamllint-checkstyle
path: dist/*

0 comments on commit 33246bd

Please sign in to comment.