2022-01-29 11:24:07 +00:00
|
|
|
name: 📑 Template-DB Indexer
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-11-27 08:58:31 +00:00
|
|
|
tags:
|
|
|
|
- '*'
|
2022-01-29 11:24:07 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
index:
|
2024-08-05 02:48:40 +00:00
|
|
|
runs-on: ubuntu-latest
|
2023-06-30 17:57:25 +00:00
|
|
|
if: github.repository == 'projectdiscovery/nuclei-templates'
|
2022-01-29 11:24:07 +00:00
|
|
|
steps:
|
2024-08-05 02:48:40 +00:00
|
|
|
- uses: projectdiscovery/actions/generate/db-indexer@v1
|
2022-01-29 11:24:07 +00:00
|
|
|
with:
|
2024-08-05 02:48:40 +00:00
|
|
|
token: '${{ secrets.ACCESS_TOKEN }}'
|
|
|
|
mode: 'templates'
|
|
|
|
args: '-eft'
|
2022-01-29 11:24:07 +00:00
|
|
|
env:
|
|
|
|
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
|
|
|
|
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
|