Files
nuclei-templates/.github/workflows/template-db-indexer.yml
Dwi Siswanto dc7c671965 ci: use composite actions
Signed-off-by: Dwi Siswanto <git@dw1.io>
2024-08-05 09:48:40 +07:00

22 lines
505 B
YAML

name: 📑 Template-DB Indexer
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
index:
runs-on: ubuntu-latest
if: github.repository == 'projectdiscovery/nuclei-templates'
steps:
- uses: projectdiscovery/actions/generate/db-indexer@v1
with:
token: '${{ secrets.ACCESS_TOKEN }}'
mode: 'templates'
args: '-eft'
env:
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}