Skip to content

Commit

Permalink
Update create-config-zip.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nunocoracao authored Dec 2, 2024
1 parent 3bdb120 commit 07bf4e9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/create-config-zip.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Create ZIP
on:
push:
branches: ["main"]
paths:
- 'config/_default/**'
release:
types: [published]
workflow_dispatch:

jobs:
Expand All @@ -12,8 +10,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: zip -r config-default.zip config/_default
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- uses: actions/upload-artifact@v3
with:
name: config-default
Expand All @@ -22,4 +18,4 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: config-default.zip
tag_name: ${{ steps.get-latest-tag.outputs.tag }}
tag_name: ${{ github.ref }}

0 comments on commit 07bf4e9

Please sign in to comment.