feat: add azure subdomain enumeration #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Red Teaming TTPs | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths: | |
| - '**/*.md' | |
| - '.github/bookify.js' | |
| - '.github/custom.css' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| - name: Cache npm dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-npm-${{ hashFiles('.github/package-lock.json') }} | |
| - name: Install dependencies | |
| working-directory: .github | |
| run: npm ci | |
| - name: Generate combined PDF | |
| working-directory: .github | |
| run: node bookify.js --paper Letter --css .github/custom.css | |
| - name: Upload PDF artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Red_Teaming_TTPs | |
| path: Guides/Red_Teaming_TTPs.pdf | |
| - name: Commit PDF back to repo | |
| uses: stefanzweifel/git-auto-commit-action@v6 | |
| with: | |
| commit_message: "chore(doc): regenerate Red_Teaming_TTPs.pdf" | |
| file_pattern: Guides/Red_Teaming_TTPs.pdf |