Skip to content

Commit

Permalink
added new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
batorfc committed Dec 6, 2019
1 parent 33f8364 commit 2affbca
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/debrepo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: DebianRepository
on: [push]

jobs:
release:
name: Release on GitHub
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1

- name: Validates GO releaser config
uses: docker://goreleaser/goreleaser:latest
with:
args: check

- name: Create release on GitHub
uses: docker://goreleaser/goreleaser:latest
with:
args: release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Create Debian repository
uses: devmatic-it/debrepo-action@v1
with:
who-to-greet: 'Mona the Octocat'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 2affbca

Please sign in to comment.