Skip to content

Commit

Permalink
added push workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Joan Viladrosa committed Nov 23, 2023
1 parent a06238a commit 278abfe
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: ci

on:
push:
branches:
- main
workflow_dispatch: { }

jobs:
push:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Pack
uses: crazy-max/ghaction-chocolatey@v3
with:
args: pack
- name: Push
uses: crazy-max/ghaction-chocolatey@v3
env:
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
with:
args: push --source "'https://push.chocolatey.org/'" -k="'${env:CHOCOLATEY_API_KEY}'"

0 comments on commit 278abfe

Please sign in to comment.