mirror of
https://github.com/activecm/rita
synced 2026-06-08 13:02:45 +00:00
37 lines
798 B
YAML
37 lines
798 B
YAML
name: Generate Installer
|
|
|
|
on:
|
|
release:
|
|
types:
|
|
- published
|
|
#- unpublished
|
|
- created
|
|
- edited
|
|
#- deleted
|
|
- prereleased
|
|
- released
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
workflow_run:
|
|
workflows: ["Build Docker Images"]
|
|
branches: [main]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
upload-installer:
|
|
name: Upload Installer to Release
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: installer/generate_installer.sh
|
|
- uses: softprops/action-gh-release@v2
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
files: |
|
|
installer/rita-${{ github.ref_name }}.tar.gz
|
|
installer/install-rita-zeek-here.sh |