Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mpfz0r committed Dec 11, 2023
1 parent 549de5d commit ac61652
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-and-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
dist/pkg
- name: Chocolatey Push
# publish release if tags are pushed
if: startsWith(github.ref, 'refs/tags/')
uses: ./.github/shared/docker-chocolatey
with:
Expand All @@ -90,6 +91,7 @@ jobs:
CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}

- name: "Upload sidecar artifacts to S3"
# publish release if tags are pushed
if: startsWith(github.ref, 'refs/tags/')
env:
AWS_DEFAULT_REGION: "eu-west-1"
Expand All @@ -99,6 +101,7 @@ jobs:
aws s3 cp --no-progress --recursive dist/pkg s3://graylog2-releases/graylog-collector-sidecar/${{ github.ref_name }}/
- name: "Releasing to Github"
# publish release if tags are pushed
if: startsWith(github.ref, 'refs/tags/')
run: |
gh release create ${{ github.ref_name }} --draft --notes "Insert changes here." dist/pkg/*

0 comments on commit ac61652

Please sign in to comment.