-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
53 lines (49 loc) · 2.42 KB
/
action.yml
File metadata and controls
53 lines (49 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: 'Traffic Torch Audit'
description: '🚥 Traffic Torch SEO + GEO + UX Health Analysis Audit Toolkit with full interactive experience, fixes & educational reports.'
branding:
icon: 'bar-chart'
color: 'orange'
inputs:
url:
description: 'URL to audit'
required: true
default: 'traffictorch.net'
tool:
description: 'Which Traffic Torch tool to run'
required: false
default: 'topical-authority-audit-tool'
runs:
using: 'composite'
steps:
- name: Run Traffic Torch Audit
shell: bash
run: |
echo "🚥 Traffic Torch SEO + GEO + UX Health Analysis started for ${{ inputs.url }}"
# Map emoji name to real tool path
case "${{ inputs.tool }}" in
"⚜️ Topical Authority Audit") TOOL_PATH="topical-authority-audit-tool" ;;
"🧬 SEO Entity Extractor") TOOL_PATH="seo-entity-extractor-tool" ;;
"🎯 SEO Intent Tool") TOOL_PATH="seo-intent-tool" ;;
"📍 Local SEO Tool") TOOL_PATH="local-seo-tool" ;;
"🛒 Product SEO Tool") TOOL_PATH="product-seo-tool" ;;
"⚙️ Schema Generator") TOOL_PATH="schema-generator" ;;
"🔎 AI Search Optimization") TOOL_PATH="ai-search-optimization-tool" ;;
"🎙️ AI Voice Search Tool") TOOL_PATH="ai-voice-search-tool" ;;
"🤖 AI Audit Tool") TOOL_PATH="ai-audit-tool" ;;
"⛔ Quit Risk Tool") TOOL_PATH="quit-risk-tool" ;;
"⚖️ SEO UX Tool") TOOL_PATH="" ;;
"🔑 Keyword Research Tool") TOOL_PATH="keyword-research-tool" ;;
"🗝️ Keyword Tool") TOOL_PATH="keyword-tool" ;;
"🆚 Keyword vs Tool") TOOL_PATH="keyword-vs-tool" ;;
*) TOOL_PATH="ai-audit-tool" ;;
esac
ENCODED_URL=$(echo -n "${{ inputs.url }}" | jq -sRr @uri)
LINK="https://traffictorch.net/${TOOL_PATH}/?url=${ENCODED_URL}"
echo "🔗 Click this link to open the full audit:"
echo "$LINK"
echo "## 🚥 Traffic Torch SEO + GEO + UX Health Analysis Audit Toolkit" >> $GITHUB_STEP_SUMMARY
echo "**URL audited:** ${{ inputs.url }}" >> $GITHUB_STEP_SUMMARY
echo "**Tool used:** ${{ inputs.tool }}" >> $GITHUB_STEP_SUMMARY
echo "**Full Interactive Report:** [$LINK]($LINK)" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "💡 Tip: Open the link in a new tab for the best experience." >> $GITHUB_STEP_SUMMARY