Skip to content

Commit

Permalink
Trigger chocolatey on release (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frassle authored Jan 17, 2023
1 parent 8dea303 commit 8196690
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
tags: [ "v*.*.*" ] # only a valid semver tag

jobs:
jobs:
goreleaser:
runs-on: macos-latest
steps:
Expand All @@ -22,3 +22,9 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: Chocolatey Package Deployment
run: |
CURRENT_TAG=$(pulumictl get version --language generic -o)
pulumictl create choco-deploy -a pulumictl ${CURRENT_TAG}
env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN}}

0 comments on commit 8196690

Please sign in to comment.