Skip to content

Commit

Permalink
trigger on push
Browse files Browse the repository at this point in the history
  • Loading branch information
francovaro committed Feb 1, 2024
1 parent 04fcb44 commit 284ce82
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
pull_request:
push:
branches: [main]
release:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -21,7 +19,6 @@ jobs:
fetch-depth: 0

- name: Fetch tags
if: github.event_name == 'release'
run: |
git fetch --tags --force
Expand All @@ -39,7 +36,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

Expand All @@ -52,4 +49,4 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./output/*.pack
asset_name: ${{ github.ref }}.pack
asset_content_type: application/zip
asset_content_type: application/zipgh t

0 comments on commit 284ce82

Please sign in to comment.