Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adysec authored Dec 26, 2024
1 parent c0ab057 commit d8c56d0
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,3 @@ jobs:
git config --local user.name "GitHub Action"
git commit -am "$(date +'%Y%m%d')"
git push -v --progress
- name: Zip POC files
run: |
mkdir -p release
zip -r release/pocs-$(date +'%Y%m%d').zip ./ -x "*.git*" "nuclei/*" "release/*"
- name: Create Release
uses: actions/create-release@v1
with:
tag_name: pocs-$(date +'%Y%m%d')
release_name: POCs Update - $(date +'%Y-%m-%d')
draft: false
prerelease: false

- name: Upload ZIP to Release
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release/pocs-$(date +'%Y%m%d').zip
asset_name: pocs-$(date +'%Y%m%d').zip
asset_content_type: application/zip

0 comments on commit d8c56d0

Please sign in to comment.