mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-29 16:15:12 +00:00
Update update_patterns.yml
This commit is contained in:
7
.github/workflows/update_patterns.yml
vendored
7
.github/workflows/update_patterns.yml
vendored
@@ -84,6 +84,13 @@ jobs:
|
||||
zip -r zips/traefik_waf.zip waf_patterns/traefik/
|
||||
zip -r zips/haproxy_waf.zip waf_patterns/haproxy/
|
||||
|
||||
- name: 🗑️ Delete Existing 'latest' Tag (if it exists)
|
||||
run: |
|
||||
if git rev-parse --verify --quiet refs/tags/latest; then
|
||||
git tag -d latest
|
||||
git push origin :refs/tags/latest
|
||||
fi
|
||||
|
||||
- name: 🚀 Create GitHub Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
||||
Reference in New Issue
Block a user